| 
||||||||||
| 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.Path
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 | |
Path(mascoptLib.graphs.EdgeSet edgeSet)
Default Constuctor on a set of edge.  | 
|
Path(mascoptLib.graphs.Path chain)
Constructs a copy of a chain.  | 
|
| Method Summary | |
 boolean | 
concat(mascoptLib.graphs.Edge edge)
Add an edge to a chain.  | 
 boolean | 
concat(mascoptLib.graphs.Path chain)
Concat two chain in one chain.  | 
 mascoptLib.graphs.EdgeSet | 
getEdgeSet()
Returns the edge set of the chain.  | 
 mascoptLib.graphs.Vertex | 
getEnd()
Returns the ending node of the chain.  | 
 mascoptLib.abstractGraph.AbstractGraphFactory | 
getFactory()
Give the factory creating objects not abstract.  | 
 mascoptLib.graphs.Vertex | 
getStart()
Returns the starting node of the chain.  | 
 mascoptLib.graphs.VertexSet | 
getVertexSet()
Returns the node set of the chain.  | 
 boolean | 
merge(mascoptLib.graphs.Path chain)
Merge two chains with the same start and end node.  | 
 mascoptLib.graphs.Edge | 
nextEdge(mascoptLib.graphs.Vertex node)
Given a node in the chain, returns the next edge when covering the chain.  | 
 mascoptLib.abstractGraph.MascoptFixedSet | 
nextEdgeSet(mascoptLib.graphs.Vertex node)
Given a node in the chain, returns the next edges when covering the chain.  | 
 mascoptLib.graphs.Vertex | 
nextVertex(mascoptLib.graphs.Vertex node)
Given a node in the chain, returns the next node when covering the chain.  | 
 mascoptLib.abstractGraph.MascoptFixedSet | 
predEdgeSet(mascoptLib.graphs.Vertex node)
Given a node in the chain, returns the previous edges when covering the chain.  | 
 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 Path(mascoptLib.graphs.EdgeSet edgeSet)
edgeSet - the set of edge on which is based the chain.public Path(mascoptLib.graphs.Path chain)
chain - the chain to copy.| Method Detail | 
public String toString()
toString in class AbstractPathpublic mascoptLib.abstractGraph.AbstractGraphFactory getFactory()
AbstractGraph
getFactory in class AbstractGraphpublic boolean concat(mascoptLib.graphs.Edge edge)
edge - the edge to add to the chain.
public boolean concat(mascoptLib.graphs.Path chain)
chain - the chain to concat.
public boolean merge(mascoptLib.graphs.Path chain)
chain - the chain to merge.
public mascoptLib.graphs.EdgeSet getEdgeSet()
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 chain to consider.
public mascoptLib.graphs.Edge nextEdge(mascoptLib.graphs.Vertex node)
node - the node of the chain to consider.
public mascoptLib.abstractGraph.MascoptFixedSet nextEdgeSet(mascoptLib.graphs.Vertex node)
node - the node of the chain to consider.
public mascoptLib.abstractGraph.MascoptFixedSet predEdgeSet(mascoptLib.graphs.Vertex node)
node - the node of the chain to consider.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||