public abstract class G extends UndirectedGraph
Constructor and Description |
---|
G(Model model,
int nbNodes)
Creates a backtrackable undirected graph of nbNodes nodes
|
Modifier and Type | Method and Description |
---|---|
abstract void |
build()
Initialises the graph
|
abstract void |
update()
Updates the graph
|
abstract void |
update(int idx) |
addEdge, addNode, edgeExists, getNbMaxNodes, getNeighOf, getNodes, getPredOrNeighOf, getSuccOrNeighOf, getType, isArcOrEdge, isDirected, removeEdge, removeNode, toString
public G(Model model, int nbNodes)
model
- solver providing the backtracking environmentnbNodes
- size of the graph (number of nodes)Copyright © 2018. All rights reserved.