SheafSystem  0.0.0.0
subposet.h File Reference

Interface for class subposet. More...

#include "SheafSystem/sheaf_dll_spec.h"
#include "SheafSystem/scattered_insertion_index_space_handle.h"
#include "SheafSystem/std_unordered_set.h"
#include "SheafSystem/poset_component.h"
#include "SheafSystem/std_string.h"
#include "SheafSystem/std_iostream.h"
#include "SheafSystem/subposet_state.h"
#include "SheafSystem/zn_to_bool.h"

Go to the source code of this file.

Classes

class  sheaf::block< T >
 An auto_block with a no-initialization initialization policy. More...
 
class  sheaf::depth_first_itr< T >
 The general depth-first iterator over the intersection of a poset member anchor's whole with its down set. Implemented as a finite state machine with a client selectable state transition function that can be chosen to provide various iteration orders.

The iterator returns control to the client so that the it can perform client-defined actions. There are three action types, the PREVISIT_ACTION, the POSTVISIT_ACTION, and the LINK_ACTION, each associated with specific positions in the iteration. The previsit position is immediately before iteration over the cover of the current member begins. The postvisit position is immediately after iteration over the cover ends. The link position is on the current link, immediately after the lesser end of the link has been visited and context has ascended to the current link. The link action thus immediately follows the postvisit action of the lesser member, but the context is different.

This iterator visits every link in the cover relation graph below the anchor of the iteration, maintaining a path to the current member. Conceptually, the path is a list of pointers to lower cover iterators. The current member of each iterator is a node in the path. Physically, the path is stored in two parts. _index is the head of the list. The tail of the list is stored in the variable _path. The current link in the graph is the link between the front of _path and _index, with _index being the lesser member of the link. More...
 
class  sheaf::subposet
 A client handle for a subposet.
More...
 

Namespaces

 sheaf
 Namespace for the sheaves component of the sheaf system.
 

Functions

SHEAF_DLL_SPEC std::ostream & sheaf::operator<< (std::ostream &os, const subposet &s)
 Insert subposet& s into ostream& os. More...
 
size_t SHEAF_DLL_SPEC sheaf::deep_size (const subposet &xsp, bool xinclude_shallow=true)
 The deep size of the referenced object of type subposet. if xinclude_shallow, add the sizeof xpath to the result. More...
 

Detailed Description

Interface for class subposet.

Definition in file subposet.h.