
Gecode Interactive Search Tool More...
#include <qtgist.hh>
Signals | |
| void | statusChanged (const Statistics &, bool) |
| Signals that the tree has changed. More... | |
| void | solution (const Space *) |
| Signals that a solution has been found. More... | |
| void | searchFinished (void) |
| Signals that Gist is ready to be closed. More... | |
Public Member Functions | |
| Gist (Space *root, bool bab, QWidget *parent, const Options &opt) | |
| Constructor. More... | |
| ~Gist (void) | |
| Destructor. More... | |
| void | addDoubleClickInspector (Inspector *i0) |
| Add double click inspector i0. More... | |
| void | addSolutionInspector (Inspector *i0) |
| Add solution inspector i0. More... | |
| void | addMoveInspector (Inspector *i0) |
| Add move inspector i0. More... | |
| void | addComparator (Comparator *c0) |
| Add comparator c0. More... | |
| void | setAutoHideFailed (bool b) |
| Set preference whether to automatically hide failed subtrees. More... | |
| void | setAutoZoom (bool b) |
| Set preference whether to automatically zoom to fit. More... | |
| bool | getAutoHideFailed (void) |
| Return preference whether to automatically hide failed subtrees. More... | |
| bool | getAutoZoom (void) |
| Return preference whether to automatically zoom to fit. More... | |
| void | setShowCopies (bool b) |
| Set preference whether to show copies in the tree. More... | |
| bool | getShowCopies (void) |
| Return preference whether to show copies in the tree. More... | |
| void | setRefresh (int i) |
| Set refresh rate. More... | |
| void | setRefreshPause (int i) |
| Set refresh pause in msec. More... | |
| bool | getSmoothScrollAndZoom (void) |
| Return preference whether to use smooth scrolling and zooming. More... | |
| void | setSmoothScrollAndZoom (bool b) |
| Set preference whether to use smooth scrolling and zooming. More... | |
| bool | getMoveDuringSearch (void) |
| Return preference whether to move cursor during search. More... | |
| void | setMoveDuringSearch (bool b) |
| Set preference whether to move cursor during search. More... | |
| void | setRecompDistances (int c_d, int a_d) |
| Set recomputation parameters c_d and a_d. More... | |
| int | getCd (void) |
| Return recomputation distance. More... | |
| int | getAd (void) |
| Return adaptive recomputation distance. More... | |
| bool | finish (void) |
| Stop search and wait until finished. More... | |
| void | resizeEvent (QResizeEvent *) |
| Handle resize event. More... | |
Public Attributes | |
| QAction * | inspect |
| Inspect current node. More... | |
| QAction * | inspectBeforeFP |
| Inspect current node before fixpoint. More... | |
| QAction * | stop |
| Stop search. More... | |
| QAction * | reset |
| Reset Gist. More... | |
| QAction * | navUp |
| Navigate to parent node. More... | |
| QAction * | navDown |
| Navigate to leftmost child node. More... | |
| QAction * | navLeft |
| Navigate to left sibling. More... | |
| QAction * | navRight |
| Navigate to right sibling. More... | |
| QAction * | navRoot |
| Navigate to root node. More... | |
| QAction * | navNextSol |
| Navigate to next solution (to the left) More... | |
| QAction * | navPrevSol |
| Navigate to previous solution (to the right) More... | |
| QAction * | searchNext |
| Search next solution in current subtree. More... | |
| QAction * | searchAll |
| Search all solutions in current subtree. More... | |
| QAction * | toggleHidden |
| Toggle whether current node is hidden. More... | |
| QAction * | hideFailed |
| Hide failed subtrees under current node. More... | |
| QAction * | unhideAll |
| Unhide all hidden subtrees under current node. More... | |
| QAction * | labelBranches |
| Label branches under current node. More... | |
| QAction * | labelPath |
| Label branches on path to root. More... | |
| QAction * | zoomToFit |
| Zoom tree to fit window. More... | |
| QAction * | center |
| Center on current node. More... | |
| QAction * | exportPDF |
| Export PDF of current subtree. More... | |
| QAction * | exportWholeTreePDF |
| Export PDF of whole tree. More... | |
| QAction * | |
| Print tree. More... | |
| QAction * | bookmarkNode |
| Bookmark current node. More... | |
| QAction * | compareNode |
| Compare current node to other node. More... | |
| QAction * | compareNodeBeforeFP |
| Compare current node to other node before fixpoint. More... | |
| QAction * | setPath |
| Set path from current node to the root. More... | |
| QAction * | inspectPath |
| Inspect all nodes on selected path. More... | |
| QAction * | showNodeStats |
| Open node statistics inspector. More... | |
| QAction * | toggleStop |
| Bookmark current node. More... | |
| QAction * | unstopAll |
| Bookmark current node. More... | |
| QActionGroup * | solutionInspectorGroup |
| Group of all actions for solution inspectors. More... | |
| QActionGroup * | doubleClickInspectorGroup |
| Group of all actions for double click inspectors. More... | |
| QActionGroup * | moveInspectorGroup |
| Group of all actions for move inspectors. More... | |
| QActionGroup * | comparatorGroup |
| Group of all actions for comparators. More... | |
| QActionGroup * | bookmarksGroup |
| Group of all actions for bookmarks. More... | |
| QActionGroup * | inspectGroup |
| Group of all actions for direct inspector selection. More... | |
| QActionGroup * | inspectBeforeFPGroup |
| Group of all actions for direct inspector selection. More... | |
Protected Member Functions | |
| void | addInspector (Inspector *i, QAction *&nas, QAction *&nad, QAction *&nam) |
| Add inspector i0. More... | |
Gecode Interactive Search Tool
This class provides an interactive search tree viewer and explorer as a Qt widget. You can embedd or inherit from this widget to use Gist in your own project.
Constructor.
Definition at line 46 of file qtgist.cpp.
| Gecode::Gist::Gist::~Gist | ( | void | ) |
Destructor.
Definition at line 553 of file qtgist.cpp.
| void Gecode::Gist::Gist::addDoubleClickInspector | ( | Inspector * | i0 | ) |
Add double click inspector i0.
Definition at line 496 of file qtgist.cpp.
| void Gecode::Gist::Gist::addSolutionInspector | ( | Inspector * | i0 | ) |
Add solution inspector i0.
Definition at line 478 of file qtgist.cpp.
| void Gecode::Gist::Gist::addMoveInspector | ( | Inspector * | i0 | ) |
Add move inspector i0.
Definition at line 514 of file qtgist.cpp.
| void Gecode::Gist::Gist::addComparator | ( | Comparator * | c0 | ) |
Add comparator c0.
Definition at line 532 of file qtgist.cpp.
| void Gecode::Gist::Gist::setAutoHideFailed | ( | bool | b | ) |
Set preference whether to automatically hide failed subtrees.
Definition at line 778 of file qtgist.cpp.
| void Gecode::Gist::Gist::setAutoZoom | ( | bool | b | ) |
Set preference whether to automatically zoom to fit.
Definition at line 780 of file qtgist.cpp.
| bool Gecode::Gist::Gist::getAutoHideFailed | ( | void | ) |
Return preference whether to automatically hide failed subtrees.
Definition at line 782 of file qtgist.cpp.
| bool Gecode::Gist::Gist::getAutoZoom | ( | void | ) |
Return preference whether to automatically zoom to fit.
Definition at line 784 of file qtgist.cpp.
| void Gecode::Gist::Gist::setShowCopies | ( | bool | b | ) |
Set preference whether to show copies in the tree.
Definition at line 820 of file qtgist.cpp.
| bool Gecode::Gist::Gist::getShowCopies | ( | void | ) |
Return preference whether to show copies in the tree.
Definition at line 824 of file qtgist.cpp.
| void Gecode::Gist::Gist::setRefresh | ( | int | i | ) |
Set refresh rate.
Definition at line 786 of file qtgist.cpp.
| void Gecode::Gist::Gist::setRefreshPause | ( | int | i | ) |
Set refresh pause in msec.
Definition at line 788 of file qtgist.cpp.
| bool Gecode::Gist::Gist::getSmoothScrollAndZoom | ( | void | ) |
Return preference whether to use smooth scrolling and zooming.
Definition at line 790 of file qtgist.cpp.
| void Gecode::Gist::Gist::setSmoothScrollAndZoom | ( | bool | b | ) |
Set preference whether to use smooth scrolling and zooming.
Definition at line 794 of file qtgist.cpp.
| bool Gecode::Gist::Gist::getMoveDuringSearch | ( | void | ) |
Return preference whether to move cursor during search.
Definition at line 798 of file qtgist.cpp.
| void Gecode::Gist::Gist::setMoveDuringSearch | ( | bool | b | ) |
Set preference whether to move cursor during search.
Definition at line 802 of file qtgist.cpp.
| void Gecode::Gist::Gist::setRecompDistances | ( | int | c_d, |
| int | a_d | ||
| ) |
Set recomputation parameters c_d and a_d.
Definition at line 806 of file qtgist.cpp.
| int Gecode::Gist::Gist::getCd | ( | void | ) |
Return recomputation distance.
Definition at line 811 of file qtgist.cpp.
| int Gecode::Gist::Gist::getAd | ( | void | ) |
Return adaptive recomputation distance.
Definition at line 815 of file qtgist.cpp.
| bool Gecode::Gist::Gist::finish | ( | void | ) |
Stop search and wait until finished.
Definition at line 703 of file qtgist.cpp.
| void Gecode::Gist::Gist::resizeEvent | ( | QResizeEvent * | ) |
Handle resize event.
Definition at line 427 of file qtgist.cpp.
|
signal |
Signals that the tree has changed.
|
signal |
Signals that a solution has been found.
|
signal |
Signals that Gist is ready to be closed.
|
protected |
Add inspector i0.
Definition at line 432 of file qtgist.cpp.
| QAction* Gecode::Gist::Gist::inspect |
| QAction* Gecode::Gist::Gist::inspectBeforeFP |
| QAction* Gecode::Gist::Gist::navUp |
| QAction* Gecode::Gist::Gist::navDown |
| QAction* Gecode::Gist::Gist::navLeft |
| QAction* Gecode::Gist::Gist::navRight |
| QAction* Gecode::Gist::Gist::navRoot |
| QAction* Gecode::Gist::Gist::navNextSol |
| QAction* Gecode::Gist::Gist::navPrevSol |
| QAction* Gecode::Gist::Gist::searchNext |
| QAction* Gecode::Gist::Gist::searchAll |
| QAction* Gecode::Gist::Gist::toggleHidden |
| QAction* Gecode::Gist::Gist::hideFailed |
| QAction* Gecode::Gist::Gist::unhideAll |
| QAction* Gecode::Gist::Gist::labelBranches |
| QAction* Gecode::Gist::Gist::labelPath |
| QAction* Gecode::Gist::Gist::zoomToFit |
| QAction* Gecode::Gist::Gist::center |
| QAction* Gecode::Gist::Gist::exportPDF |
| QAction* Gecode::Gist::Gist::exportWholeTreePDF |
| QAction* Gecode::Gist::Gist::bookmarkNode |
| QAction* Gecode::Gist::Gist::compareNode |
| QAction* Gecode::Gist::Gist::compareNodeBeforeFP |
| QAction* Gecode::Gist::Gist::setPath |
| QAction* Gecode::Gist::Gist::inspectPath |
| QAction* Gecode::Gist::Gist::showNodeStats |
| QAction* Gecode::Gist::Gist::toggleStop |
| QAction* Gecode::Gist::Gist::unstopAll |
| QActionGroup* Gecode::Gist::Gist::solutionInspectorGroup |
| QActionGroup* Gecode::Gist::Gist::doubleClickInspectorGroup |
| QActionGroup* Gecode::Gist::Gist::moveInspectorGroup |
| QActionGroup* Gecode::Gist::Gist::comparatorGroup |
| QActionGroup* Gecode::Gist::Gist::bookmarksGroup |
| QActionGroup* Gecode::Gist::Gist::inspectGroup |
| QActionGroup* Gecode::Gist::Gist::inspectBeforeFPGroup |