org.grinvin.invariants.computers
Class AbstractInvariantCComputer
- InvariantComputer
public abstract class AbstractInvariantCComputer
Abstract superclass for invariant computers that are written in C. Provides
a method to convert the graph to multicode.
graphToGRAPHAndADJAZENZ
protected int[] graphToGRAPHAndADJAZENZ(GraphBundleView graphbundle,
int maxVertices,
int emptyCode)
graphToMulticode
protected int[] graphToMulticode(GraphView graph)
Converts the graph to multicode-representation. It can then be passed on to
the C-function as an array of jint's (i.e. longs in C).