The
IlvHyperGrapher
class provides methods that let you access in an efficient way
normal hyperedges and intergraph hyperedges stored in a hypergraph.
These methods are shown in the following table:
Methods for accessing normal and
intergraph hyperedges
Method |
Description
|
---|---|
Returns
all normal hyperedges stored in the hypergraph. |
|
Returns
the number of normal hyperedges stored in the hypergraph. |
|
Returns
all intergraph hyperedges stored in the hypergraph. |
|
Returns
the number of intergraph hyperedges stored in the hypergraph. |
Since intergraph hyperedges are stored in the same way as other
graphic objects in the hypergraph or graph, they are also included
in the list of all objects contained in the hypergraph that is
returned by the getObjects method of the class
IlvManager
:
IlvGraphicEnumeration getObjects()
Calling the specific methods shown in the
above table is much more efficient than traversing all the objects
in a hypergraph.