Package net.bmahe.genetics4j.moo
Class FitnessVector<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.moo.FitnessVector<T>
- All Implemented Interfaces:
Comparable<FitnessVector<T>>
public class FitnessVector<T extends Comparable<T>>
extends Object
implements Comparable<FitnessVector<T>>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFitnessVector
(Collection<T> _vector) FitnessVector
(Collection<T> _vector, Collection<Comparator<T>> _comparators) FitnessVector
(T... _vector) -
Method Summary
Modifier and TypeMethodDescriptionstatic <U extends Comparable<U>>
intcompare
(FitnessVector<U> fv1, FitnessVector<U> fv2) int
compareTo
(FitnessVector<T> o) int
boolean
get
(int index) getComparator
(int index) int
hashCode()
toString()
-
Field Details
-
fitnesses
-
comparators
-
-
Constructor Details
-
FitnessVector
-
FitnessVector
-
FitnessVector
-
-
Method Details