#include <graphwalker.h>
Public Types | |
typedef std::queue< edge_type > | bfs_type |
typedef graph< N, E > ::const_edge_iterator | const_edge_iterator |
typedef graph< N, E > ::edge_iterator | edge_iterator |
typedef graph< N, E >::edge_list | edge_list |
typedef std::pair < const_edge_iterator, const_edge_iterator > | edge_range |
typedef graph< N, E >::edge_type | edge_type |
typedef graph< N, E >::index_result | index_result |
typedef graph< N, E >::index_type | index_type |
typedef bool | result_type |
typedef std::vector< edge_range > | stack_type |
typedef graph< N, E >::value_type | value_type |
Public Member Functions | |
value_type | current () const |
value_type | current_bfs () const |
result_type | firstChild () |
graphwalker (const graph< N, E > &) | |
creates a walker rooted by the first candidate root found in the underlying graph More... | |
graphwalker (const graph< N, E > &, const N &) | |
creates a walker rooted by the node given More... | |
result_type | next () |
result_type | next_bfs () |
result_type | nextSibling () |
result_type | parent () |
void | reset () |
const stack_type & | stack () const |
Protected Attributes | |
const graph< N, E > & | graph_ |
bfs_type | queue_ |
edge_list | root_ |
stack_type | stack_ |
Private Member Functions | |
graphwalker () | |
a walker for an acyclic directed multigraph
Definition at line 13 of file graphwalker.h.
typedef std::queue<edge_type> graphwalker< N, E >::bfs_type |
Definition at line 34 of file graphwalker.h.
typedef graph<N,E>::const_edge_iterator graphwalker< N, E >::const_edge_iterator |
Definition at line 26 of file graphwalker.h.
typedef graph<N,E>::edge_iterator graphwalker< N, E >::edge_iterator |
Definition at line 24 of file graphwalker.h.
typedef graph<N,E>::edge_list graphwalker< N, E >::edge_list |
Definition at line 22 of file graphwalker.h.
typedef std::pair<const_edge_iterator, const_edge_iterator> graphwalker< N, E >::edge_range |
Definition at line 29 of file graphwalker.h.
typedef graph<N,E>::edge_type graphwalker< N, E >::edge_type |
Definition at line 20 of file graphwalker.h.
typedef graph<N,E>::index_result graphwalker< N, E >::index_result |
Definition at line 18 of file graphwalker.h.
typedef graph<N,E>::index_type graphwalker< N, E >::index_type |
Definition at line 16 of file graphwalker.h.
typedef bool graphwalker< N, E >::result_type |
Definition at line 36 of file graphwalker.h.
typedef std::vector<edge_range> graphwalker< N, E >::stack_type |
Definition at line 33 of file graphwalker.h.
typedef graph<N,E>::value_type graphwalker< N, E >::value_type |
Definition at line 38 of file graphwalker.h.
graphwalker< N, E >::graphwalker | ( | const graph< N, E > & | g | ) |
creates a walker rooted by the first candidate root found in the underlying graph
Definition at line 83 of file graphwalker.h.
References graphwalker< N, E >::graph_, graphwalker< N, E >::queue_, graphwalker< N, E >::root_, and graphwalker< N, E >::stack_.
graphwalker< N, E >::graphwalker | ( | const graph< N, E > & | g, |
const N & | root | ||
) |
creates a walker rooted by the node given
Definition at line 95 of file graphwalker.h.
References graphwalker< N, E >::graph_, graphwalker< N, E >::queue_, dbtoconf::root, graphwalker< N, E >::root_, and graphwalker< N, E >::stack_.
|
private |
|
inline |
Definition at line 109 of file graphwalker.h.
Referenced by DDCheckConnect(), graph_combine(), graph_tree_output(), output(), and DDCompactViewImpl::weight().
graphwalker< N, E >::value_type graphwalker< N, E >::current_bfs | ( | ) | const |
Definition at line 122 of file graphwalker.h.
graphwalker< N, E >::result_type graphwalker< N, E >::firstChild | ( | ) |
Definition at line 143 of file graphwalker.h.
References query::result.
Referenced by graph_tree_output(), and DDCompactViewImpl::weight().
graphwalker< N, E >::result_type graphwalker< N, E >::next | ( | void | ) |
Definition at line 185 of file graphwalker.h.
References dbtoconf::parent, and query::result.
Referenced by DDCheckConnect(), graph_combine(), and output().
graphwalker< N, E >::result_type graphwalker< N, E >::next_bfs | ( | ) |
Definition at line 206 of file graphwalker.h.
References query::result.
graphwalker< N, E >::result_type graphwalker< N, E >::nextSibling | ( | ) |
Definition at line 157 of file graphwalker.h.
References query::result.
Referenced by graph_tree_output(), and DDCompactViewImpl::weight().
graphwalker< N, E >::result_type graphwalker< N, E >::parent | ( | ) |
Definition at line 172 of file graphwalker.h.
References query::result.
Referenced by python.Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), python.Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), python.Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), python.Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), python.Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), python.Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), python.Vispa.Gui.PortWidget.PortWidget::connectionPoint(), python.Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), python.Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), python.Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), python.Vispa.Views.LineDecayView.DecayLine::dataAccessor(), python.Vispa.Views.LineDecayView.LineDecayContainer::delete(), python.Vispa.Views.LineDecayView.DecayNode::delete(), python.Vispa.Views.LineDecayView.DecayLine::delete(), python.Vispa.Gui.VispaWidget.VispaWidget::delete(), python.Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), python.Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), python.Vispa.Views.LineDecayView.DecayLine::extendedSize(), graph_tree_output(), python.Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), python.Vispa.Gui.PortWidget.PortWidget::moduleParent(), python.Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), python.Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), python.Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), python.Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), python.Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), python.Vispa.Views.LineDecayView.DecayNode::move(), python.Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), python.Vispa.Views.LineDecayView.LineDecayContainer::operationId(), python.Vispa.Views.LineDecayView.DecayLine::paint(), python.Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), python.Vispa.Views.LineDecayView.DecayLine::qtLineStyle(), python.Vispa.Views.WidgetView.WidgetView::restoreSelection(), python.Vispa.Views.WidgetView.WidgetView::select(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), python.Vispa.Views.LineDecayView.LineDecayContainer::tabController(), python.Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), python.Vispa.Views.LineDecayView.DecayNode::unite(), python.Vispa.Views.PropertyView.PropertyView::valueChanged(), python.Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().
void graphwalker< N, E >::reset | ( | void | ) |
Definition at line 130 of file graphwalker.h.
References sistrip::root_.
|
inline |
Definition at line 65 of file graphwalker.h.
Referenced by graph_combine(), and graph_tree_output().
|
protected |
Definition at line 73 of file graphwalker.h.
Referenced by graphwalker< N, E >::graphwalker().
|
protected |
Definition at line 70 of file graphwalker.h.
Referenced by graphwalker< N, E >::graphwalker().
|
protected |
Definition at line 71 of file graphwalker.h.
Referenced by graphwalker< N, E >::graphwalker().
|
protected |
Definition at line 69 of file graphwalker.h.
Referenced by graphwalker< N, E >::graphwalker(), and graphwalker< DDLogicalPart, DDPosData * >::stack().