|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstatalign.postprocess.plugins.contree.CNetworkPath
public class CNetworkPath
Paths of incompatible splits in the consensus network
Field Summary | |
---|---|
java.util.ArrayList<CNetworkEdge> |
pathOfEdges
|
java.util.ArrayList<CNetworkNode> |
pathOfNodes
|
Constructor Summary | |
---|---|
CNetworkPath()
|
Method Summary | |
---|---|
boolean |
checkForSplit(CNetworkEdge edgeToLookFor)
Returns true if this path already contains an edge from the argument split, otherwise false. |
CNetworkPath |
combineWith(CNetworkPath toAdd,
CNetworkNode nodeToLinkOver)
Combines this path with the argument path across the argument node |
CNetworkNode |
endNode()
Returns the node at the end of the path |
boolean |
isSplitSide(CNetworkSplit inputSplit,
int noOfTaxa)
This function sees if adjoining splits at the nodes at the path ends create subsets on both sides of the input split... |
CNetworkPath |
reordered()
Reorders this path |
CNetworkNode |
startNode()
Returns the node at the start of the path |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.ArrayList<CNetworkEdge> pathOfEdges
public java.util.ArrayList<CNetworkNode> pathOfNodes
Constructor Detail |
---|
public CNetworkPath()
Method Detail |
---|
public CNetworkNode startNode()
public CNetworkNode endNode()
public boolean checkForSplit(CNetworkEdge edgeToLookFor)
edgeToLookFor
- Edge from split we want to see is already present in path or notpublic CNetworkPath combineWith(CNetworkPath toAdd, CNetworkNode nodeToLinkOver)
toAdd
- Path to add to this onenodeToLinkOver
- Node over which to link (ensures non-duplication of this node)public CNetworkPath reordered()
public boolean isSplitSide(CNetworkSplit inputSplit, int noOfTaxa)
inputSplit
- Split that is being added and must create splits in some of the edges joining the end nodesnoOfTaxa
- Standard request for number of taxa in the network
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |