Home | History | Annotate | Download | only in genetics

Lines Matching defs:representation

27  * @param <T> type of the representation list
34 private final List<T> representation;
38 * @param representation inner representation of the chromosome
40 public AbstractListChromosome(final List<T> representation) {
42 checkValidity(representation);
44 throw new IllegalArgumentException(String.format("Invalid representation for %s", getClass().getSimpleName()), e);
46 this.representation = Collections.unmodifiableList(new ArrayList<T> (representation));
51 * @param representation inner representation of the chromosome
53 public AbstractListChromosome(final T[] representation) {
54 this(Arrays.asList(representation));
59 * Asserts that <code>representation</code> can represent a valid chromosome.
60 * @param chromosomeRepresentation representation of the chromosome
61 * @throws InvalidRepresentationException iff the <code>representation</code> can not represent
67 * Returns the (immutable) inner representation of the chromosome.
68 * @return the representation of the chromosome
71 return representation;
86 * with different array representation.
91 * the inner array representation of the new chromosome.