public abstract class G extends UndirectedGraph
Constructor and Description |
---|
G(Solver solver,
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, duplicate, edgeExists, getNbMaxNodes, getNeighOf, getNodes, getPredOrNeighOf, getSuccOrNeighOf, getType, isArcOrEdge, isDirected, removeEdge, removeNode, toString
public G(Solver solver, int nbNodes)
solver
- solver providing the backtracking environmentnbNodes
- size of the graph (number of nodes)Copyright © 2015. All rights reserved.