Skip to content

An extension of Choco3 to deal with cpviz librairie

License

Notifications You must be signed in to change notification settings

gregy4/choco-cpviz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

choco-cpviz

An extension of Choco3 to deal with cpviz library.

Simply add the choco-cpviz-X.Y.Z.jar file to the classpath, together with choco-solver.X.Y.Z.jar, and add the following code, before the resolution:

Visualization visu = new Visualization("aName", s, dir + "/out");
visu.createTree();
visu.createViz();
// add component, such as vector, ...
Vector vector = new Vector(Q, "expanded", n, n);
vector.setMinMax(1, n);
visu.addVisualizer(vector);

It produces the configuration, tree and visualization files required by cpviz to render the search.

Any suggestion or contribution will be appreciated.

About

An extension of Choco3 to deal with cpviz librairie

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.2%
  • Shell 1.8%