EPANET
3.0
EPANET Development Project
|
A Pattern where factors change at varying time intervals. More...
#include <pattern.h>
Public Member Functions | |
VariablePattern (std::string name_) | |
void | addTime (int t) |
int | time (int i) |
void | init (int interval, int tstart) |
int | nextTime (int t) |
void | advance (int t) |
![]() | |
Pattern (std::string name_, int type_) | |
void | setTimeInterval (int t) |
void | addFactor (double f) |
int | timeInterval () |
int | size () |
double | factor (int i) |
double | currentFactor () |
![]() | |
Element (std::string name_) | |
Additional Inherited Members | |
![]() | |
enum | PatternType { FIXED_PATTERN, VARIABLE_PATTERN } |
![]() | |
enum | ElementType { NODE, LINK, PATTERN, CURVE, CONTROL } |
![]() | |
static Pattern * | factory (int type_, std::string name_, MemPool *memPool) |
![]() | |
int | type |
type of time pattern | |
![]() | |
std::string | name |
element's ID name | |
int | index |
index in array of elements | |
![]() | |
std::vector< double > | factors |
sequence of multiplier factors | |
int | currentIndex |
index of current pattern interval | |
int | interval |
fixed time interval (sec) | |
A Pattern where factors change at varying time intervals.