adevs
|
#include <adevs_time.h>
Public Member Functions | |
sd_time (double t, int k) | |
sd_time (const sd_time &other) | |
double | real () const |
double | integer () const |
const sd_time & | operator= (const sd_time &other) |
bool | operator== (const sd_time &t2) const |
Equivalence. | |
bool | operator!= (const sd_time &t2) const |
Not equal. | |
bool | operator< (const sd_time &t2) const |
Order by t then by c. | |
bool | operator<= (const sd_time &t2) const |
bool | operator> (const sd_time &t2) const |
bool | operator>= (const sd_time &t2) const |
sd_time | operator+ (const sd_time &t2) const |
Add and subtract. | |
const sd_time & | operator+= (const sd_time &t2) |
sd_time | operator- (const sd_time &t2) const |
const sd_time & | operator-= (const sd_time &t2) |
Friends | |
std::ostream & | operator<< (std::ostream &out, const sd_time &t) |
This time type allows models to evolve on R x Z.