|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptLib.util.ObservableObject | +--mascoptLib.abstractGraph.MascoptObject | +--mascoptLib.abstractGraph.AbstractGraph | +--mascoptLib.abstractGraph.AbstractPath | +--mascoptLib.graphs.DiPath
A Chain object give the ability to build a chain over a Graph. The chain can be merged with another chain with same start and end node, giving a multi-chain. The chain can be covered through the graph. The chain is also considered as a graph and derives from Graph. The Path object is a directed Chain. It derives from DiGraph.
Constructor Summary | |
DiPath(mascoptLib.graphs.ArcSet arcSet)
Default Constuctor on a path. |
|
DiPath(mascoptLib.graphs.DiPath path)
Constructs a copy of a path. |
Method Summary | |
boolean |
concat(mascoptLib.graphs.Arc arc)
Add an edge to a path. |
boolean |
concat(mascoptLib.graphs.DiPath path)
Concat two paths in one path. |
mascoptLib.graphs.ArcSet |
getArcSet()
Returns the arc set on which is based the path. |
mascoptLib.graphs.Vertex |
getEnd()
Returns the ending node of the path. |
mascoptLib.abstractGraph.AbstractGraphFactory |
getFactory()
Returns the library objects factory. |
mascoptLib.graphs.Vertex |
getStart()
Returns the starting node of the path. |
mascoptLib.graphs.VertexSet |
getVertexSet()
Returns the node set on which is based the path. |
boolean |
merge(mascoptLib.graphs.DiPath path)
Merge two paths with the same start and end node. |
mascoptLib.graphs.Arc |
nextArc(mascoptLib.graphs.Vertex node)
Given a node in the path, returns the next arc when covering the path. |
mascoptLib.abstractGraph.MascoptFixedSet |
nextArcSet(mascoptLib.graphs.Vertex node)
Given a node in the path, returns the next arc set when covering the path. |
mascoptLib.graphs.Vertex |
nextVertex(mascoptLib.graphs.Vertex node)
Given a node in the path, returns the next node when covering the path. |
mascoptLib.abstractGraph.MascoptFixedSet |
predArcSet(mascoptLib.graphs.Vertex node)
Given a node in the path, returns the previous arcs when covering the path. |
String |
toString()
Converts the chain in string to be printed. |
Methods inherited from class mascoptLib.abstractGraph.AbstractPath |
checkIntegrity, concatAbstractEdge, concatAbstractPath, countAllAbstractPaths, free, getAbstractEnd, getAbstractStart, isClosed, isEnd, isMulti, isStart, mergeAbstractPath, nextAbstractEdge, nextAbstractEdgeSet, nextAbstractVertex, predAbstractEdge, predAbstractEdgeSet, removeLastEdge, update |
Methods inherited from class mascoptLib.abstractGraph.AbstractGraph |
breadthFirstIterator, copyAbstractGraph, countAllAbstractGraphs, depthFirstIterator, getAbstractEdgeSet, getAbstractVertexSet, getSuperGraph, isSubGraph, replace, replace, setAbstractEdgeSet, setAbstractVertexSet, setSuperGraph |
Methods inherited from class mascoptLib.abstractGraph.MascoptObject |
copyValues, countAllObjects, deleteValue, deleteValue, existValue, existValue, getDoubleValue, getDoubleValue, getDouValue, getDouValue, getId, getIntegerValue, getIntegerValue, getIntValue, getIntValue, getName, getValue, getValue, getValueContexts, getValueDataType, getValueDataType, getValueEntries, notifyOnValueChange, removeAllValues, setDoubleValue, setDoubleValue, setDouValue, setDouValue, setIntegerValue, setIntegerValue, setIntValue, setIntValue, setName, setValue, setValue, setValue, setValue, setValue, setValue |
Methods inherited from class mascoptLib.util.ObservableObject |
addAddObserver, addRemoveObserver, addValueObserver, countAddObservers, countRemoveObservers, countValueObservers, deleteAddObserver, deleteAddObserver, deleteRemoveObserver, deleteRemoveObserver, deleteValueObserver, deleteValueObserver |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DiPath(mascoptLib.graphs.ArcSet arcSet)
arcSet
- the set of edge on which is based the path.public DiPath(mascoptLib.graphs.DiPath path)
path
- the path to copy.Method Detail |
public String toString()
toString
in class AbstractPath
public mascoptLib.abstractGraph.AbstractGraphFactory getFactory()
getFactory
in class AbstractGraph
public boolean concat(mascoptLib.graphs.Arc arc)
arc
- the arc to add to the path.
public boolean concat(mascoptLib.graphs.DiPath path)
path
- the path to concat.
public boolean merge(mascoptLib.graphs.DiPath path)
path
- the path to merge.
public mascoptLib.graphs.ArcSet getArcSet()
public mascoptLib.graphs.VertexSet getVertexSet()
public mascoptLib.graphs.Vertex getStart()
public mascoptLib.graphs.Vertex getEnd()
public mascoptLib.graphs.Vertex nextVertex(mascoptLib.graphs.Vertex node)
node
- the node of the path to consider.
public mascoptLib.graphs.Arc nextArc(mascoptLib.graphs.Vertex node)
node
- the node of the path to consider.
public mascoptLib.abstractGraph.MascoptFixedSet nextArcSet(mascoptLib.graphs.Vertex node)
node
- the node of the path to consider.
public mascoptLib.abstractGraph.MascoptFixedSet predArcSet(mascoptLib.graphs.Vertex node)
node
- the node of the path to consider.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |