Package org.evoludo.simulator.models
Class IBSDPopulation.link
Object
link
- Enclosing class:
IBSDPopulation
A minimalstic helper class (or data structure) to represent a single
directed link in the network structure. Undirected links
are represented by two directed ones. This is used for Moran optimizations.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
The index of the individual at the head of the link.(package private) double
The fitness of the individual at the tail end (for fitness based picking of individuals).(package private) int
The index of the individual at the tail end of the link. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
source
int sourceThe index of the individual at the tail end of the link. -
destination
int destinationThe index of the individual at the head of the link. -
fitness
double fitnessThe fitness of the individual at the tail end (for fitness based picking of individuals).
-
-
Constructor Details
-
link
public link()Construct a new link.
-