Generated on Thu Apr 11 13:59:54 2019 for Gecode by doxygen 1.6.3

Gecode::Gist::Gist Class Reference
[Gist: the Gecode Interactive Search Tool]

Gecode Interactive Search Tool More...

#include <qtgist.hh>

List of all members.

Signals

void statusChanged (const Statistics &, bool)
 Signals that the tree has changed.
void solution (const Space *)
 Signals that a solution has been found.
void searchFinished (void)
 Signals that Gist is ready to be closed.

Public Member Functions

 Gist (Space *root, bool bab, QWidget *parent, const Options &opt)
 Constructor.
 ~Gist (void)
 Destructor.
void addDoubleClickInspector (Inspector *i0)
 Add double click inspector i0.
void addSolutionInspector (Inspector *i0)
 Add solution inspector i0.
void addMoveInspector (Inspector *i0)
 Add move inspector i0.
void addComparator (Comparator *c0)
 Add comparator c0.
void setAutoHideFailed (bool b)
 Set preference whether to automatically hide failed subtrees.
void setAutoZoom (bool b)
 Set preference whether to automatically zoom to fit.
bool getAutoHideFailed (void)
 Return preference whether to automatically hide failed subtrees.
bool getAutoZoom (void)
 Return preference whether to automatically zoom to fit.
void setShowCopies (bool b)
 Set preference whether to show copies in the tree.
bool getShowCopies (void)
 Return preference whether to show copies in the tree.
void setRefresh (int i)
 Set refresh rate.
void setRefreshPause (int i)
 Set refresh pause in msec.
bool getSmoothScrollAndZoom (void)
 Return preference whether to use smooth scrolling and zooming.
void setSmoothScrollAndZoom (bool b)
 Set preference whether to use smooth scrolling and zooming.
bool getMoveDuringSearch (void)
 Return preference whether to move cursor during search.
void setMoveDuringSearch (bool b)
 Set preference whether to move cursor during search.
void setRecompDistances (int c_d, int a_d)
 Set recomputation parameters c_d and a_d.
int getCd (void)
 Return recomputation distance.
int getAd (void)
 Return adaptive recomputation distance.
bool finish (void)
 Stop search and wait until finished.
void resizeEvent (QResizeEvent *)
 Handle resize event.

Public Attributes

QAction * inspect
 Inspect current node.
QAction * inspectBeforeFP
 Inspect current node before fixpoint.
QAction * stop
 Stop search.
QAction * reset
 Reset Gist.
QAction * navUp
 Navigate to parent node.
QAction * navDown
 Navigate to leftmost child node.
QAction * navLeft
 Navigate to left sibling.
QAction * navRight
 Navigate to right sibling.
QAction * navRoot
 Navigate to root node.
QAction * navNextSol
 Navigate to next solution (to the left).
QAction * navPrevSol
 Navigate to previous solution (to the right).
QAction * searchNext
 Search next solution in current subtree.
QAction * searchAll
 Search all solutions in current subtree.
QAction * toggleHidden
 Toggle whether current node is hidden.
QAction * hideFailed
 Hide failed subtrees under current node.
QAction * unhideAll
 Unhide all hidden subtrees under current node.
QAction * labelBranches
 Label branches under current node.
QAction * labelPath
 Label branches on path to root.
QAction * zoomToFit
 Zoom tree to fit window.
QAction * center
 Center on current node.
QAction * exportPDF
 Export PDF of current subtree.
QAction * exportWholeTreePDF
 Export PDF of whole tree.
QAction * print
 Print tree.
QAction * bookmarkNode
 Bookmark current node.
QAction * compareNode
 Compare current node to other node.
QAction * compareNodeBeforeFP
 Compare current node to other node before fixpoint.
QAction * setPath
 Set path from current node to the root.
QAction * inspectPath
 Inspect all nodes on selected path.
QAction * showNodeStats
 Open node statistics inspector.
QAction * toggleStop
 Bookmark current node.
QAction * unstopAll
 Bookmark current node.
QActionGroup * solutionInspectorGroup
 Group of all actions for solution inspectors.
QActionGroup * doubleClickInspectorGroup
 Group of all actions for double click inspectors.
QActionGroup * moveInspectorGroup
 Group of all actions for move inspectors.
QActionGroup * comparatorGroup
 Group of all actions for comparators.
QActionGroup * bookmarksGroup
 Group of all actions for bookmarks.
QActionGroup * inspectGroup
 Group of all actions for direct inspector selection.
QActionGroup * inspectBeforeFPGroup
 Group of all actions for direct inspector selection.

Protected Member Functions

void addInspector (Inspector *i, QAction *&nas, QAction *&nad, QAction *&nam)
 Add inspector i0.

Detailed Description

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.

Definition at line 81 of file qtgist.hh.


Constructor & Destructor Documentation

Gecode::Gist::Gist::Gist ( Space root,
bool  bab,
QWidget *  parent,
const Options opt 
)

Constructor.

Definition at line 39 of file qtgist.cpp.

Gecode::Gist::Gist::~Gist ( void   ) 

Destructor.

Definition at line 546 of file qtgist.cpp.


Member Function Documentation

void Gecode::Gist::Gist::addDoubleClickInspector ( Inspector i0  ) 

Add double click inspector i0.

Definition at line 489 of file qtgist.cpp.

void Gecode::Gist::Gist::addSolutionInspector ( Inspector i0  ) 

Add solution inspector i0.

Definition at line 471 of file qtgist.cpp.

void Gecode::Gist::Gist::addMoveInspector ( Inspector i0  ) 

Add move inspector i0.

Definition at line 507 of file qtgist.cpp.

void Gecode::Gist::Gist::addComparator ( Comparator c0  ) 

Add comparator c0.

Definition at line 525 of file qtgist.cpp.

void Gecode::Gist::Gist::setAutoHideFailed ( bool  b  ) 

Set preference whether to automatically hide failed subtrees.

Definition at line 771 of file qtgist.cpp.

void Gecode::Gist::Gist::setAutoZoom ( bool  b  ) 

Set preference whether to automatically zoom to fit.

Definition at line 773 of file qtgist.cpp.

bool Gecode::Gist::Gist::getAutoHideFailed ( void   ) 

Return preference whether to automatically hide failed subtrees.

Definition at line 775 of file qtgist.cpp.

bool Gecode::Gist::Gist::getAutoZoom ( void   ) 

Return preference whether to automatically zoom to fit.

Definition at line 777 of file qtgist.cpp.

void Gecode::Gist::Gist::setShowCopies ( bool  b  ) 

Set preference whether to show copies in the tree.

Definition at line 813 of file qtgist.cpp.

bool Gecode::Gist::Gist::getShowCopies ( void   ) 

Return preference whether to show copies in the tree.

Definition at line 817 of file qtgist.cpp.

void Gecode::Gist::Gist::setRefresh ( int  i  ) 

Set refresh rate.

Definition at line 779 of file qtgist.cpp.

void Gecode::Gist::Gist::setRefreshPause ( int  i  ) 

Set refresh pause in msec.

Definition at line 781 of file qtgist.cpp.

bool Gecode::Gist::Gist::getSmoothScrollAndZoom ( void   ) 

Return preference whether to use smooth scrolling and zooming.

Definition at line 783 of file qtgist.cpp.

void Gecode::Gist::Gist::setSmoothScrollAndZoom ( bool  b  ) 

Set preference whether to use smooth scrolling and zooming.

Definition at line 787 of file qtgist.cpp.

bool Gecode::Gist::Gist::getMoveDuringSearch ( void   ) 

Return preference whether to move cursor during search.

Definition at line 791 of file qtgist.cpp.

void Gecode::Gist::Gist::setMoveDuringSearch ( bool  b  ) 

Set preference whether to move cursor during search.

Definition at line 795 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 799 of file qtgist.cpp.

int Gecode::Gist::Gist::getCd ( void   ) 

Return recomputation distance.

Definition at line 804 of file qtgist.cpp.

int Gecode::Gist::Gist::getAd ( void   ) 

Return adaptive recomputation distance.

Definition at line 808 of file qtgist.cpp.

bool Gecode::Gist::Gist::finish ( void   ) 

Stop search and wait until finished.

Definition at line 696 of file qtgist.cpp.

void Gecode::Gist::Gist::resizeEvent ( QResizeEvent *   ) 

Handle resize event.

Definition at line 420 of file qtgist.cpp.

void Gecode::Gist::Gist::statusChanged ( const Statistics ,
bool   
) [signal]

Signals that the tree has changed.

void Gecode::Gist::Gist::solution ( const Space  )  [signal]

Signals that a solution has been found.

void Gecode::Gist::Gist::searchFinished ( void   )  [signal]

Signals that Gist is ready to be closed.

void Gecode::Gist::Gist::addInspector ( Inspector i,
QAction *&  nas,
QAction *&  nad,
QAction *&  nam 
) [protected]

Add inspector i0.

Definition at line 425 of file qtgist.cpp.


Member Data Documentation

Inspect current node.

Definition at line 118 of file qtgist.hh.

Inspect current node before fixpoint.

Definition at line 120 of file qtgist.hh.

Stop search.

Definition at line 122 of file qtgist.hh.

Reset Gist.

Definition at line 124 of file qtgist.hh.

Navigate to parent node.

Definition at line 126 of file qtgist.hh.

Navigate to leftmost child node.

Definition at line 128 of file qtgist.hh.

Navigate to left sibling.

Definition at line 130 of file qtgist.hh.

Navigate to right sibling.

Definition at line 132 of file qtgist.hh.

Navigate to root node.

Definition at line 134 of file qtgist.hh.

Navigate to next solution (to the left).

Definition at line 136 of file qtgist.hh.

Navigate to previous solution (to the right).

Definition at line 138 of file qtgist.hh.

Search next solution in current subtree.

Definition at line 140 of file qtgist.hh.

Search all solutions in current subtree.

Definition at line 142 of file qtgist.hh.

Toggle whether current node is hidden.

Definition at line 144 of file qtgist.hh.

Hide failed subtrees under current node.

Definition at line 146 of file qtgist.hh.

Unhide all hidden subtrees under current node.

Definition at line 148 of file qtgist.hh.

Label branches under current node.

Definition at line 150 of file qtgist.hh.

Label branches on path to root.

Definition at line 152 of file qtgist.hh.

Zoom tree to fit window.

Definition at line 154 of file qtgist.hh.

Center on current node.

Definition at line 156 of file qtgist.hh.

Export PDF of current subtree.

Definition at line 158 of file qtgist.hh.

Export PDF of whole tree.

Definition at line 160 of file qtgist.hh.

Print tree.

Definition at line 162 of file qtgist.hh.

Bookmark current node.

Definition at line 165 of file qtgist.hh.

Compare current node to other node.

Definition at line 167 of file qtgist.hh.

Compare current node to other node before fixpoint.

Definition at line 169 of file qtgist.hh.

Set path from current node to the root.

Definition at line 171 of file qtgist.hh.

Inspect all nodes on selected path.

Definition at line 173 of file qtgist.hh.

Open node statistics inspector.

Definition at line 175 of file qtgist.hh.

Bookmark current node.

Definition at line 177 of file qtgist.hh.

Bookmark current node.

Definition at line 179 of file qtgist.hh.

Group of all actions for solution inspectors.

Definition at line 182 of file qtgist.hh.

Group of all actions for double click inspectors.

Definition at line 184 of file qtgist.hh.

Group of all actions for move inspectors.

Definition at line 186 of file qtgist.hh.

Group of all actions for comparators.

Definition at line 188 of file qtgist.hh.

Group of all actions for bookmarks.

Definition at line 190 of file qtgist.hh.

Group of all actions for direct inspector selection.

Definition at line 192 of file qtgist.hh.

Group of all actions for direct inspector selection.

Definition at line 194 of file qtgist.hh.


The documentation for this class was generated from the following files: