#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.
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.
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_, findQualityFiles::rr, 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 |
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 alignCSCRings::e, and 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 Vispa.Gui.ConnectableWidget.ConnectableWidget::addMenuEntry(), Vispa.Views.LineDecayView.LineDecayContainer::applyFilter(), Vispa.Views.BoxDecayView.BoxDecayContainer::arrangeUsingRelations(), Vispa.Views.BoxDecayView.BoxDecayContainer::autolayoutAlgorithm(), Vispa.Gui.ZoomableScrollableWidgetOwner.ZoomableScrollableWidgetOwner::autosizeScrollArea(), Vispa.Views.BoxDecayView.BoxDecayContainer::autosizeScrollArea(), Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Main.StartupScreen.StartupScreen::createDescriptionWidget(), Vispa.Views.BoxDecayView.BoxDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::dataAccessor(), Vispa.Views.LineDecayView.DecayLine::dataAccessor(), Vispa.Views.LineDecayView.LineDecayContainer::delete(), Vispa.Views.LineDecayView.DecayNode::delete(), Vispa.Views.LineDecayView.DecayLine::delete(), Vispa.Gui.VispaWidget.VispaWidget::delete(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), Vispa.Share.ImageExporter.ImageExporter::exportImageDialog(), Vispa.Views.LineDecayView.DecayLine::extendedSize(), graph_tree_output(), Vispa.Gui.VispaWidget.VispaWidget::keyPressEvent(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), Vispa.Gui.PortWidget.PortWidget::moduleParent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.VispaWidget.VispaWidget::mouseDoubleClickEvent(), Vispa.Gui.PortConnection.PointToPointConnection::mousePressEvent(), Vispa.Gui.VispaWidget.VispaWidget::mousePressEvent(), Vispa.Views.LineDecayView.ParticleWidget::mousePressEvent(), Vispa.Views.LineDecayView.DecayNode::move(), Vispa.Views.LineDecayView.LineDecayContainer::noDecorationsMode(), Vispa.Views.LineDecayView.LineDecayContainer::operationId(), Vispa.Views.LineDecayView.DecayLine::paint(), Vispa.Gui.VispaWidget.VispaWidget::paintEvent(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.LineDecayView.DecayLine::qtLineStyle(), Vispa.Views.WidgetView.WidgetView::restoreSelection(), Vispa.Views.WidgetView.WidgetView::select(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Views.LineDecayView.LineDecayContainer::sizeHint(), Vispa.Views.LineDecayView.LineDecayContainer::tabController(), Vispa.Views.BoxDecayView.BoxDecayContainer::toggleCollapsed(), Vispa.Views.LineDecayView.DecayNode::unite(), Vispa.Views.PropertyView.PropertyView::valueChanged(), Vispa.Views.BoxDecayView.BoxDecayContainer::widgetByObject(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDoubleClicked(), and Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::widgetDragged().
void graphwalker< N, E >::reset | ( | void | ) |
Definition at line 130 of file graphwalker.h.
References sistrip::root_.
Referenced by BeautifulSoup.BeautifulStoneSoup::__init__().
|
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().