#include <Node.hpp>
Constructor & Destructor Documentation
Node::Node |
( |
double |
x, |
|
|
unsigned short |
idx |
|
) |
| |
|
inline |
Node::Node |
( |
const Node & |
n | ) |
|
|
inline |
Node::Node |
( |
double |
x, |
|
|
unsigned short |
idx |
|
) |
| |
|
inline |
Node::Node |
( |
const Node & |
n | ) |
|
|
inline |
Member Function Documentation
unsigned short Node::getIndex |
( |
| ) |
const |
|
inline |
unsigned short Node::getIndex |
( |
| ) |
const |
|
inline |
double Node::getValue |
( |
| ) |
const |
|
inline |
double Node::getValue |
( |
| ) |
const |
|
inline |
bool Node::operator< |
( |
const Node & |
n | ) |
const |
|
inline |
bool Node::operator< |
( |
const Node & |
n | ) |
const |
|
inline |
bool Node::operator== |
( |
const Node & |
n | ) |
const |
|
inline |
bool Node::operator== |
( |
const Node & |
n | ) |
const |
|
inline |
bool Node::operator> |
( |
const Node & |
n | ) |
const |
|
inline |
bool Node::operator> |
( |
const Node & |
n | ) |
const |
|
inline |
- Returns
- if the node is new, return the node. If the node exists in the tree, return the node in the tree.
unsigned short Node::setLeft |
( |
const Node & |
node | ) |
|
|
inline |
- Returns
- if the node is new, return the index. If the node exists in the tree, return the index in the tree.
Node Node::setRight |
( |
const Node & |
node | ) |
|
|
inline |
- Returns
- if the node is new, return the node. If the node exists in the tree, return the node in the tree.
unsigned short Node::setRight |
( |
const Node & |
node | ) |
|
|
inline |
- Returns
- if the node is new, return the index. If the node exists in the tree, return the index in the tree.
Member Data Documentation
The documentation for this class was generated from the following files: