public class Orient3Hypergraph extends Object
Note that the method orient() is tailored to the needs
of Linear3SystemSolver.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
orient(int[][] edges,
int[] d,
int[] vertex0,
int[] vertex1,
int[] vertex2,
int[] hinges)
Orients the edges of a 3-hypergraph.
|
public static boolean orient(int[][] edges,
int[] d,
int[] vertex0,
int[] vertex1,
int[] vertex2,
int[] hinges)
edges - the edge array (an array of vertices for each hyperedge).d - the degree array.vertex0 - the first vertex of each edge.vertex1 - the second vertex of each edge.vertex2 - the third vertex of each edge.hinges - the vector where hinges will be stored.