public Vector<PelicanPerson> getChildren() { Vector<PelicanPerson> result = new Vector<PelicanPerson>(); Iterator<PelicanPerson> allPersonIt = pelican.getAllPeople().iterator(); while (allPersonIt.hasNext()) { PelicanPerson possibleChild = allPersonIt.next(); if ((possibleChild.father == this) || (possibleChild.mother == this)) result.add(possibleChild); } return result; }
public String getWorkingGenotypeAsString() { return workingGenotypes[pelican.getCurrentModelNumber()][0] + " " + workingGenotypes[pelican.getCurrentModelNumber()][1]; }