InputNode Class Reference
#include <Node.h>
List of all members.
Detailed Description
Input nodes are the receptors for detecting the presences of chemicals These chemicals may not be solidly available during a period of timeT, but come as a percentage during a period of timeT.
Constructor & Destructor Documentation
Member Function Documentation
void InputNode::amountInit |
( |
int |
win |
) |
[private] |
sets the first n bool on ammount to false
void InputNode::checkDosages |
( |
void |
|
) |
|
Checks the consistency of starting times for input dosages.
bool InputNode::evaluate |
( |
NodeList & |
nl, |
|
|
int |
t | |
|
) |
| | [virtual] |
Sets previous to current and determines the next value for current
If dosages are used then it checks the start dosage and duration vectors to mantain the proper levels
Implements Node.
int InputNode::getDos |
( |
void |
|
) |
[inline] |
virtual string InputNode::getType |
( |
void |
|
) |
[inline, virtual] |
void InputNode::printParams |
( |
void |
|
) |
|
void InputNode::reset |
( |
void |
|
) |
[virtual] |
void InputNode::reverseParams |
( |
void |
|
) |
|
Reverses the contents of the arrays start, duration, and dosage so that they go in the correct order and not in reverse
InputNode& InputNode::setDosage |
( |
int |
d |
) |
[inline] |
pushes d onto doage and returns *this
InputNode& InputNode::setDuration |
( |
int |
d |
) |
[inline] |
pushes d onto duration and returns *this
InputNode& InputNode::setInjectionValue |
( |
|
) |
[inline] |
sets the injectionValue to the opposite of previous and returns *this
void InputNode::setInputBitString |
( |
const string & |
s, |
|
|
NodeList & |
nl | |
|
) |
| | |
Sets inputBitStr equal to s
void InputNode::setLevels |
( |
int |
level, |
|
|
int |
time | |
|
) |
| | |
Sets this input node's level to level for length equal to time
void InputNode::setManual |
( |
bool |
val |
) |
|
Takes in val and sets manual equal to it
void InputNode::setNoise |
( |
bool |
val |
) |
|
Takes in val and sets noisy equal to it noisy is the boolean that determines if the Input node has noise interference
void InputNode::setRange |
( |
int |
i, |
|
|
int |
j | |
|
) |
| | [inline] |
InputNode& InputNode::setStart |
( |
int |
s |
) |
[inline] |
pushes s onto start and returns *this
Member Data Documentation
The documentation for this class was generated from the following files: