public class DefaultHyperGraph extends Object implements HyperGraph
Constructor and Description |
---|
DefaultHyperGraph() |
DefaultHyperGraph(int nbVerticesInit) |
Modifier and Type | Method and Description |
---|---|
void |
add(HyperEdge e) |
void |
addEdge(int... vertices) |
int |
addVertex() |
Iterator<Integer> |
adjacencyList(int v) |
int |
nbVertices() |
public DefaultHyperGraph()
public DefaultHyperGraph(int nbVerticesInit)
public int nbVertices()
nbVertices
in interface HyperGraph
public int addVertex()
addVertex
in interface HyperGraph
public Iterator<Integer> adjacencyList(int v)
adjacencyList
in interface HyperGraph
public void add(HyperEdge e)
add
in interface HyperGraph
public void addEdge(int... vertices)
addEdge
in interface HyperGraph
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.