|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uconn.mcb.lineageevolver.graph.EdgeListGraphTopology.EdgeData
Encapsulation class used for storing multiple items inside an edge for EdgeListGraphTopology objects. Every EdgeData object must be associated to an Edge.
Nested Class Summary | |
(package private) class |
EdgeListGraphTopology.EdgeData.Event
Encapsulation class used for storing Event information inside an EdgeData object. |
protected class |
EdgeListGraphTopology.EdgeData.ForkEvent
Event produced for carryout out a forkation on the topology. |
protected class |
EdgeListGraphTopology.EdgeData.GenomeEvent
Common abstract class for all events dealing directly with Genomes, as a GenomeVisitor. |
protected class |
EdgeListGraphTopology.EdgeData.LineageEvent
Common abstract class for all events dealing with Lineages. |
protected class |
EdgeListGraphTopology.EdgeData.SubstitutionEvent
Event produced for carrying out substitution. |
Field Summary | |
(package private) int |
cur
The current number of time units traversed along this branch. |
(package private) java.lang.Object |
data
The data stored in this edge. |
(package private) EdgeListEdge |
edge
The edge that we're bound to. |
(package private) java.util.ArrayList |
events
Our list of events, in order. |
(package private) EdgeListGraphTopology.EdgeData.SubstitutionEvent |
substitutionEvent
The substitution event to run when substitution should occur. |
(package private) int |
substitutions
The number of substitutions along this branch. |
(package private) int |
time
The number of time units along this branch. |
Constructor Summary | |
EdgeListGraphTopology.EdgeData(int substitutions,
int time,
java.lang.Object data,
EdgeListEdge edge)
Constructor for EdgeData objects, specifying all instance variables. |
Method Summary | |
(package private) EdgeListGraphTopology.EdgeData.SubstitutionEvent |
getSubstitutionEvent(int subsitiutions)
Returns a SubstitutionEvent with appropriate configuration given a number of substitutions. |
(package private) EdgeListGraphTopology.EdgeData.Event |
nextEvent()
Returns the next event on this edge according to this.cur . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int substitutions
int time
int cur
java.util.ArrayList events
EdgeListEdge edge
java.lang.Object data
EdgeListGraphTopology.EdgeData.SubstitutionEvent substitutionEvent
Constructor Detail |
public EdgeListGraphTopology.EdgeData(int substitutions, int time, java.lang.Object data, EdgeListEdge edge)
substitutions
- the branch length in substitutions.time
- the branch length in time intervals.data
- any extra data that this EdgeData should store.edge
- the Edge that this EdgeData should belong to.Method Detail |
EdgeListGraphTopology.EdgeData.SubstitutionEvent getSubstitutionEvent(int subsitiutions)
subsitiutions
- the number of substitutions that the returned SubstitutionEvent should be configured for.
EdgeListGraphTopology.EdgeData.Event nextEvent()
this.cur
.
If no events after this.cur
are found, and there are children, the fork event is returned. Otherwise, null
is returned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |