OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
opencog::Pattern Struct Reference

#include <Pattern.h>

+ Collaboration diagram for opencog::Pattern:

Public Types

typedef std::vector< HandleRootList
 
typedef std::map< Handle,
RootList
ConnectMap
 
typedef std::pair< Handle,
RootList
ConnectPair
 
typedef std::map< std::pair
< Handle, Handle >
, PatternTermSeq
ConnectTermMap
 

Public Attributes

std::string redex_name
 
HandleSeq clauses
 The actual clauses. Set by validate_clauses() More...
 
HandleSeq cnf_clauses
 
HandleSeq mandatory
 
std::set< Handleoptionals
 
std::set< Handleblack
 
std::set< Handleevaluatable_terms
 
std::set< Handleevaluatable_holders
 
std::set< Handleexecutable_terms
 
std::set< Handleexecutable_holders
 
std::unordered_multimap
< Handle, Handle
in_evaluatable
 
std::unordered_multimap
< Handle, Handle
in_executable
 
ConnectMap connectivity_map
 
ConnectTermMap connected_terms_map
 

Detailed Description

The Pattern struct defines a search pattern in a way that makes it easier and faster to work with in C++. It implements the data that is shared between the various pattern-specification atoms and the pattern matcher.

Definition at line 75 of file Pattern.h.

Member Typedef Documentation

Definition at line 80 of file Pattern.h.

Definition at line 81 of file Pattern.h.

Definition at line 90 of file Pattern.h.

typedef std::vector<Handle> opencog::Pattern::RootList

Definition at line 79 of file Pattern.h.

Member Data Documentation

std::set<Handle> opencog::Pattern::black

Definition at line 116 of file Pattern.h.

HandleSeq opencog::Pattern::clauses

The actual clauses. Set by validate_clauses()

Definition at line 97 of file Pattern.h.

HandleSeq opencog::Pattern::cnf_clauses

Definition at line 102 of file Pattern.h.

ConnectTermMap opencog::Pattern::connected_terms_map

Definition at line 141 of file Pattern.h.

ConnectMap opencog::Pattern::connectivity_map

Definition at line 139 of file Pattern.h.

std::set<Handle> opencog::Pattern::evaluatable_holders

Definition at line 121 of file Pattern.h.

std::set<Handle> opencog::Pattern::evaluatable_terms

Definition at line 120 of file Pattern.h.

std::set<Handle> opencog::Pattern::executable_holders

Definition at line 126 of file Pattern.h.

std::set<Handle> opencog::Pattern::executable_terms

Definition at line 125 of file Pattern.h.

std::unordered_multimap<Handle,Handle> opencog::Pattern::in_evaluatable

Definition at line 131 of file Pattern.h.

std::unordered_multimap<Handle,Handle> opencog::Pattern::in_executable

Definition at line 132 of file Pattern.h.

HandleSeq opencog::Pattern::mandatory

Definition at line 105 of file Pattern.h.

std::set<Handle> opencog::Pattern::optionals

Definition at line 110 of file Pattern.h.

std::string opencog::Pattern::redex_name

Definition at line 94 of file Pattern.h.


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