Package net.bmahe.genetics4j.neat
Class Species<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.neat.Species<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<Individual<T>> private final int
private final List
<Individual<T>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllMembers
(Collection<Individual<T>> individuals) void
addAncestor
(Individual<T> individual) void
addMember
(Individual<T> individual) boolean
List
<Individual<T>> int
getId()
List
<Individual<T>> int
int
int
hashCode()
toString()
-
Field Details
-
id
private final int id -
ancestors
-
members
-
-
Constructor Details
-
Species
-
-
Method Details
-
addAncestor
-
addMember
-
addAllMembers
-
getNumAncestors
public int getNumAncestors() -
getNumMembers
public int getNumMembers() -
getId
public int getId() -
getAncestors
-
getMembers
-
hashCode
public int hashCode() -
equals
-
toString
-