Skip to content

AntonRidgway/CSPDataVis

Repository files navigation

CSPDataVis

A Python/Java project which leverages VTK to visualize the progress and results of DCSP algorithms. Programmed in 2014 for the Scientific and Information Visualization course (CS-6863-01) at the University of Tulsa.

Traces from individual solution runs are included with the project, as well as the Java code written to convert them to either OBJ or CSV data suitable for use in VTK. Transformed data is also included, with Python code used to visualize either the progress of the algorithms as an animation, or the final result as a fixed 3D mesh. Finally, the original report and presentation slides for the project are included, which provide additional documentation and example output images.

  • The Java code may be run by executing CSPtoVTK.java, with the name of the data file to be transformed passed in as a program parameter, as long as the data is copied into the same folder.
  • The Python code may be run after installing VTK (found at www.vtk.org), with the data in the same folder. The program was designed around VTK version 6.1.0.

Original CSP traces for the project make use of the format:

  • Problem domain size, on one row.
  • Total # constraints, on another row.
  • Several columns, of which the first gives the number of satisfied constraints at each time step, while the others give the value selected by each variable at each time step.

Processed CSP traces are stored in CSV files and simple Waveform OBJ files.

About

A Python/Java project to visualize the progress and results of DCSP algorithms. Utilizes VTK for visualization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published