vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AP_LSystem::Abstract0LSystem Class Reference

#include <abstract0lsystem.h>

Inheritance diagram for AP_LSystem::Abstract0LSystem:
AP_LSystem::LSystem AP_LSystem::AbstractLSystem AP_LSystem::ParD0LSystem AP_LSystem::ParStoch0LSystem

Public Member Functions

 Abstract0LSystem (AbstractFile *)
 
 Abstract0LSystem (const Abstract0LSystem &)
 
- Public Member Functions inherited from AP_LSystem::LSystem
 LSystem (AbstractFile *)
 
 LSystem (const LSystem &)
 
 ~LSystem ()
 
LSystemoperator= (const LSystem &)
 
virtual void loadFromFile (AbstractFile *file)
 
unsigned int wordLength ()
 
virtual void transcribeSubSystems ()
 
virtual LongStringtranslate ()
 
virtual void processCutSymbol ()
 
- Public Member Functions inherited from AP_LSystem::AbstractLSystem
 AbstractLSystem ()
 
 AbstractLSystem (const AbstractLSystem &c)
 
virtual boost::shared_ptr
< AbstractLSystem
clone () const =0
 
AbstractLSystemoperator= (const AbstractLSystem &c)
 
unsigned int getIteration () const
 

Protected Member Functions

virtual void processPredecessor (Rule &rule, string *str, string::iterator &pos)
 
virtual void processRuleSuccessor (Rule &rule, string *str, string::iterator &pos)
 
virtual void processHomomorphismSuccessor (Rule &rule, string *str, string::iterator &pos)
 
- Protected Member Functions inherited from AP_LSystem::LSystem
virtual void setAxiom (std::string &)
 
virtual void addRule (std::string *)
 
virtual void addHomomorphism (std::string *)
 
virtual bool nextIteration ()
 
virtual bool transcribe (multimap< char, Rule > &rules)
 
virtual multimap< char, Rule >
::iterator * 
selectRule (multimap< char, Rule >::iterator &begin, multimap< char, Rule >::iterator &end, LongString *word, unsigned int &pos, double *parameters)
 
virtual void generateSuccessor (LongString *word, multimap< char, Rule >::iterator &rule, double *params)
 

Additional Inherited Members

- Protected Attributes inherited from AP_LSystem::LSystem
LongStringm_Word
 
multimap< char, Rulem_Rules
 
multimap< char, Rulem_Homomorphisms
 
vector< string > m_SubSystemsFilenames
 
vector< LongString * > m_SubSystemsWords
 
string m_Ignore
 

Detailed Description

Abstract class for context-free 0L-systems

Constructor & Destructor Documentation

Abstract0LSystem::Abstract0LSystem ( AbstractFile file)
Abstract0LSystem::Abstract0LSystem ( const Abstract0LSystem c)

Member Function Documentation

void Abstract0LSystem::processHomomorphismSuccessor ( Rule rule,
string *  str,
string::iterator &  pos 
)
protectedvirtual

Parses a homomorphism successor and stores it to Rule structure

Parameters
rulestructure of rule for storing parsed data
strstring with rule
posposition of predecessor in rule string

Implements AP_LSystem::LSystem.

void Abstract0LSystem::processPredecessor ( Rule rule,
string *  str,
string::iterator &  pos 
)
protectedvirtual

Parses a predecessor of rule or homomorphism and stores it to Rule structure

Parameters
rulestructure of rule for storing parsed data
strstring with rule
posposition of predecessor in rule string

Implements AP_LSystem::LSystem.

void Abstract0LSystem::processRuleSuccessor ( Rule rule,
string *  str,
string::iterator &  pos 
)
protectedvirtual

Parses a rule successor and stores it to Rule structure

Parameters
rulestructure of rule for storing parsed data
strstring with rule
posposition of predecessor in rule string

Implements AP_LSystem::LSystem.


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