treecanvas.hh
Go to the documentation of this file.
NodeAllocatorBase< VisualNode > NodeAllocator
Definition node.hh:143
A thread that concurrently explores the tree.
Definition treecanvas.hh:70
void statusChanged(bool)
void update(int w, int h, int scale0)
void solution(const Space *)
void searchFinished(void)
void search(VisualNode *n, bool all, TreeCanvas *ti)
Definition treecanvas.cpp:292
void scaleChanged(int)
void moveToNode(VisualNode *n, bool)
void navNextSol(bool back=false)
Move selection to next solution (in DFS order).
Definition treecanvas.cpp:1006
void resizeToOuter(void)
Resize to the outer widget size if auto zoom is enabled.
Definition treecanvas.cpp:1200
void activateDoubleClickInspector(int i, bool active)
Set active inspector.
Definition treecanvas.cpp:151
void labelBranches(void)
Label all branches in subtree under current node.
Definition treecanvas.cpp:769
VisualNode * eventNode(QEvent *event)
Return the node corresponding to the event position.
Definition treecanvas.cpp:1126
void contextMenuEvent(QContextMenuEvent *event)
Handle context menu event.
Definition treecanvas.cpp:1262
void startCompareNodesBeforeFP(void)
Wait for click on node to compare with current node before fixpoint.
Definition treecanvas.cpp:922
void startCompareNodes(void)
Wait for click on node to compare with current node.
Definition treecanvas.cpp:914
bool getAutoZoom(void)
Return preference whether to automatically zoom to fit.
Definition treecanvas.cpp:1455
void statusChanged(VisualNode *, const Statistics &, bool)
Status bar update.
TreeCanvas(Space *rootSpace, bool bab, QWidget *parent, const Options &opt)
Constructor.
Definition treecanvas.cpp:52
bool event(QEvent *event)
General event handler, used for displaying tool tips.
Definition treecanvas.cpp:1181
void setMoveDuringSearch(bool b)
Set preference whether to move cursor during search.
Definition treecanvas.cpp:1487
void navDown(void)
Move selection to the first child of the selected node.
Definition treecanvas.cpp:948
QVector< QPair< Comparator *, bool > > comparators
The registered comparators, and whether they are active.
Definition treecanvas.hh:278
void scaleTree(int scale0, int zoomx=-1, int zoomy=-1)
Set scale factor to scale0.
Definition treecanvas.cpp:190
void activateSolutionInspector(int i, bool active)
Set active inspector.
Definition treecanvas.cpp:162
void navLeft(void)
Move selection to the left sibling of the selected node.
Definition treecanvas.cpp:971
QVector< QPair< Inspector *, bool > > doubleClickInspectors
The registered click inspectors, and whether they are active.
Definition treecanvas.hh:272
bool getSmoothScrollAndZoom(void)
Return preference whether to use smooth scrolling and zooming.
Definition treecanvas.cpp:1472
void mouseDoubleClickEvent(QMouseEvent *event)
Handle mouse double click event.
Definition treecanvas.cpp:1245
bool getAutoHideFailed(void)
Return preference whether to automatically hide failed subtrees.
Definition treecanvas.cpp:1450
void solution(const Space *)
Signals that a solution has been found.
void emitStatusChanged(void)
Re-emit status change information for current node.
Definition treecanvas.cpp:930
void setAutoZoom(bool b)
Set preference whether to automatically zoom to fit.
Definition treecanvas.cpp:1431
void centerCurrentNode(void)
Center the view on the currently selected node.
Definition treecanvas.cpp:574
void setSmoothScrollAndZoom(bool b)
Set preference whether to use smooth scrolling and zooming.
Definition treecanvas.cpp:1477
void removedBookmark(int idx)
Signals that a bookmark has been removed.
void setCurrentNode(VisualNode *n, bool finished=true, bool update=true)
Set the selected node to n.
Definition treecanvas.cpp:1327
void setShowCopies(bool b)
Set preference whether to show copies in the tree.
Definition treecanvas.cpp:1441
virtual void timerEvent(QTimerEvent *e)
Timer invoked for smooth zooming and scrolling.
Definition treecanvas.cpp:518
bool getMoveDuringSearch(void)
Return preference whether to move cursor during search.
Definition treecanvas.cpp:1482
bool compareNodesBeforeFP
Whether node comparison action computes fixpoint.
Definition treecanvas.hh:286
void navRight(void)
Move selection to the right sibling of the selected node.
Definition treecanvas.cpp:985
void navPrevSol(void)
Move selection to previous solution (in DFS order).
Definition treecanvas.cpp:1019
void inspectPath(void)
Call the double click inspector for all nodes on the path from root to head of the path.
Definition treecanvas.cpp:898
bool getShowCopies(void)
Return preference whether to show copies in the tree.
Definition treecanvas.cpp:1445
void inspectCurrentNode(bool fix=true, int inspectorNo=-1)
Call the double click inspector for the currently selected node.
Definition treecanvas.cpp:628
void setAutoHideFailed(bool b)
Set preference whether to automatically hide failed subtrees.
Definition treecanvas.cpp:1426
QVector< QPair< Inspector *, bool > > moveInspectors
The registered move inspectors, and whether they are active.
Definition treecanvas.hh:276
QVector< QPair< Inspector *, bool > > solutionInspectors
The registered solution inspectors, and whether they are active.
Definition treecanvas.hh:274
void addedBookmark(const QString &id)
Signals that a bookmark has been added.
int bab(Space *root, const Gist::Options &opt=Gist::Options::def)
Create a new stand-alone Gist for branch-and-bound search of root.
Definition gist.hpp:208
void print(const Search::Statistics &stat, bool restart)
Print statistics.
Definition job-shop.cpp:677
Gecode toplevel namespace
