#include <RealMapping.h>
Collaboration diagram for PLearn::RealRange:
Public Member Functions | |
RealRange () | |
RealRange (char leftbracket_, real low_, real high_, char rightbracket_) | |
real | span () |
void | checkbrackets () const |
void | print (ostream &out) const |
void | write (ostream &out) const |
void | read (istream &in) |
string | getString () const |
bool | contains (real val) const |
Compare RealRange and real: the relation is either: Range `contains` real Range < real, if higher bound < real Range > real, if lower bound > real. | |
bool | operator< (real x) const |
bool | operator> (real x) const |
bool | operator< (const RealRange &x) const |
bool | operator> (const RealRange &x) const |
bool | operator== (const RealRange &rr) const |
Public Attributes | |
real | low |
real | high |
char | leftbracket |
char | rightbracket |
Definition at line 53 of file RealMapping.h.
|
Definition at line 62 of file RealMapping.h. References high, leftbracket, low, and rightbracket. Referenced by PLearn::RealMapping::removeMapping(). |
|
Definition at line 67 of file RealMapping.h. References checkbrackets(), high, leftbracket, low, and rightbracket. |
|
Definition at line 73 of file RealMapping.h. References leftbracket, PLERROR, and rightbracket. Referenced by read(), and RealRange(). |
|
Compare RealRange and real: the relation is either: Range `contains` real Range < real, if higher bound < real Range > real, if lower bound > real.
Definition at line 88 of file RealMapping.cc. References high, leftbracket, low, rightbracket, and val. |
|
Definition at line 76 of file RealMapping.cc. References high, leftbracket, low, and rightbracket. |
|
Compare 2 RealRanges: This can be used to sort a list of RealRanges, or to build a map indexed by RealRanges. Note that ordering of ranges is only properly defined for ranges that do not overlap. Definition at line 97 of file RealMapping.cc. References high, rightbracket, and x. |
|
Definition at line 91 of file RealMapping.cc. References high, rightbracket, and x. |
|
Definition at line 103 of file RealMapping.cc. References high, leftbracket, low, and rightbracket. |
|
Definition at line 100 of file RealMapping.cc. References leftbracket, low, and x. |
|
Definition at line 94 of file RealMapping.cc. References leftbracket, low, and x. |
|
Definition at line 79 of file RealMapping.h. References high, leftbracket, low, and rightbracket. Referenced by PLearn::operator<<(). |
|
Definition at line 85 of file RealMapping.h. References checkbrackets(), high, leftbracket, low, and rightbracket. Referenced by PLearn::read(), and PLearn::RealMapping::read(). |
|
Definition at line 71 of file RealMapping.h. References PLearn::abs(), high, and low. |
|
Definition at line 82 of file RealMapping.h. References high, leftbracket, low, and rightbracket. |
|
Definition at line 57 of file RealMapping.h. Referenced by contains(), getString(), operator<(), operator==(), print(), read(), RealRange(), span(), and write(). |
|
Definition at line 58 of file RealMapping.h. Referenced by checkbrackets(), contains(), getString(), operator==(), operator>(), print(), read(), RealRange(), and write(). |
|
Definition at line 56 of file RealMapping.h. Referenced by contains(), getString(), operator==(), operator>(), print(), read(), RealRange(), span(), and write(). |
|
Definition at line 59 of file RealMapping.h. Referenced by checkbrackets(), contains(), getString(), operator<(), operator==(), print(), read(), RealRange(), and write(). |