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.
- Author:
- Christoph Hauert
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intThe index of the individual at the head of the link.(package private) doubleThe fitness of the individual at the tail end (for fitness based picking of individuals).(package private) intThe 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
Link()Empty default constructor for a Link. A class to keep track of the source, destination and fitness of the individual at tail end for optimizations focussing on domain interfaces at the expense of loosing the time scale.
-