#include <d0lsystem.h>
|
virtual void | processPredecessor (Rule &, string *, string::iterator &) |
|
virtual void | processRuleSuccessor (Rule &, string *, string::iterator &) |
|
virtual void | processHomomorphismSuccessor (Rule &, string *, string::iterator &) |
|
virtual bool | transcribe (multimap< char, Rule > &rules) |
|
virtual void | setAxiom (std::string &) |
|
virtual void | addRule (std::string *) |
|
virtual void | addHomomorphism (std::string *) |
|
virtual bool | nextIteration () |
|
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) |
|
static bool AP_LSystem::D0LSystem::isCapable |
( |
unsigned int |
type | ) |
|
|
inlinestatic |
Decides if L-system of passed type can by processed by parametric stochastic context-free L-system
- Parameters
-
type | type of L-system that will be compared with D0LSytem capabilities |
- Returns
- true if it is capable to process this type
void D0LSystem::processHomomorphismSuccessor |
( |
Rule & |
r, |
|
|
string * |
hom, |
|
|
string::iterator & |
it |
|
) |
| |
|
protectedvirtual |
void D0LSystem::processPredecessor |
( |
Rule & |
r, |
|
|
string * |
rule, |
|
|
string::iterator & |
it |
|
) |
| |
|
protectedvirtual |
void D0LSystem::processRuleSuccessor |
( |
Rule & |
r, |
|
|
string * |
rule, |
|
|
string::iterator & |
it |
|
) |
| |
|
protectedvirtual |
bool D0LSystem::transcribe |
( |
multimap< char, Rule > & |
rules | ) |
|
|
protectedvirtual |
This method provides a transcription funkcionality. It substitutes all modules in word by their successors.
- Parameters
-
rules | container with rules |
- Returns
- true if succeeded
Reimplemented from AP_LSystem::LSystem.
The documentation for this class was generated from the following files:
- C:/Documents/School/OSG/VRECKO/include/vreckoAP/Garden/d0lsystem.h
- C:/Documents/School/OSG/VRECKO/src/vreckoAP/Garden/d0lsystem.cpp