Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
DeepExplorer Class Reference

Description

Strategy: explore the structure depth first.

After returning an element, delve into the scope defined by this element and so on recursively.

Definition at line 113 of file placement-index-query-resolver.cpp.

Public Member Functions

 DeepExplorer (PIter start, PIdx idx)
 
- Public Member Functions inherited from Explorer
virtual ~Explorer ()
 

Private Member Functions

bool exhausted ()
 
Plastep ()
 

Private Attributes

PIdx index_
 
std::stack< PIterscopes_
 

Constructor & Destructor Documentation

◆ DeepExplorer()

DeepExplorer ( PIter  start,
PIdx  idx 
)
inline

Definition at line 138 of file placement-index-query-resolver.cpp.

References DeepExplorer::scopes_.

Member Function Documentation

◆ exhausted()

bool exhausted ( )
inlineprivatevirtual

Implements Explorer.

Definition at line 120 of file placement-index-query-resolver.cpp.

References DeepExplorer::scopes_.

◆ step()

Pla & step ( )
inlineprivatevirtual

Implements Explorer.

Definition at line 128 of file placement-index-query-resolver.cpp.

References Placement< MO, B >::getID(), PlacementIndex::getReferrers(), DeepExplorer::index_, and DeepExplorer::scopes_.

+ Here is the call graph for this function:

Member Data Documentation

◆ index_

PIdx index_
private

Definition at line 116 of file placement-index-query-resolver.cpp.

Referenced by DeepExplorer::step().

◆ scopes_

std::stack<PIter> scopes_
private
+ Inheritance diagram for DeepExplorer:
+ Collaboration diagram for DeepExplorer:

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