mascoptLib.abstractGraph
Interface AbstractEdgeSetFactory

All Known Implementing Classes:
ArcSetFactory, EdgeSetFactory

public interface AbstractEdgeSetFactory

The Factory building Edge Sets.

Version:
Wed Feb 20 18:37:37 2002
Author:
bbongiov@bing.inria.fr

Method Summary
 mascoptLib.abstractGraph.AbstractEdge newAbstractEdge(mascoptLib.abstractGraph.AbstractVertex x, mascoptLib.abstractGraph.AbstractVertex y)
          Constructs an edge beetween two vertices.
 mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
          Constructs a new edge set which is a sub set of an other edge set.
 mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet es, mascoptLib.abstractGraph.AbstractVertexSet abstractVertexSet)
          Constructs a new edge set which is as sub set of an other edge set and based on a vertex set.
 mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractVertexSet vertexSet)
          Constructs a new edge set based on a vertex set.
 mascoptLib.abstractGraph.AbstractPath newAbstractPath(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
          Constructs a new path based on a edge set.
 

Method Detail

newAbstractEdgeSet

public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractVertexSet vertexSet)
Constructs a new edge set based on a vertex set.

Parameters:
vertexSet - the vertex set used as base to the edge set.
Returns:
an abstract edge set empty.

newAbstractEdgeSet

public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
Constructs a new edge set which is a sub set of an other edge set.

Parameters:
edgeSet - the edge set used as base to the edge set.
Returns:
an abstract edge set empty.

newAbstractEdgeSet

public mascoptLib.abstractGraph.AbstractEdgeSet newAbstractEdgeSet(mascoptLib.abstractGraph.AbstractEdgeSet es,
                                                                   mascoptLib.abstractGraph.AbstractVertexSet abstractVertexSet)
Constructs a new edge set which is as sub set of an other edge set and based on a vertex set. This is the most generic constructor. It permits to use a specific vertex set as the base of the new edge set. Then, it permits to associate the new edge set with an other edge set: the new is a sub set of the other.

Parameters:
es - the father edge set.
abstractVertexSet - the base of vertices of the new edge set.
Returns:
an abstract edge set empty.

newAbstractEdge

public mascoptLib.abstractGraph.AbstractEdge newAbstractEdge(mascoptLib.abstractGraph.AbstractVertex x,
                                                             mascoptLib.abstractGraph.AbstractVertex y)
Constructs an edge beetween two vertices.

Parameters:
x - the first vertex.
y - the second vertex.
Returns:
the constructed edge.

newAbstractPath

public mascoptLib.abstractGraph.AbstractPath newAbstractPath(mascoptLib.abstractGraph.AbstractEdgeSet edgeSet)
Constructs a new path based on a edge set. The path is empty when constructed. Only edges from the edgeSet can be added in the path. It models the fact that the path is a subgraph of the main graph. Then, use the edge set of the graph to construct new paths.

Parameters:
edgeSet - the base of the path
Returns:
a empty path.