Link between one node and another. More...
#include <fhs_arc.h>
Public Member Functions | |
| fhs_arc () | |
| Default constructor. | |
| fhs_arc (int i, int j, double dx, double dy, double var_x, double var_y) | |
| Constructor. | |
| fhs_arc | flipped () const |
| Return arc from j to i (ie directions reversed). | |
| unsigned | i () const |
| Index of first node. | |
| unsigned | j () const |
| Index of second node. | |
| double | dx () const |
| Mean x offset of j() from i(). | |
| double | dy () const |
| Mean y offset of j() from i(). | |
| double | var_x () const |
| Variance of x offset of j() from i(). | |
| double | var_y () const |
| Variance of y offset of j() from i(). | |
| void | b_write (vsl_b_ostream &bfs) const |
| Write to binary stream. | |
| void | b_read (vsl_b_istream &bfs) |
| Read from binary stream. | |
Private Attributes | |
| unsigned | i_ |
| unsigned | j_ |
| double | dx_ |
| double | dy_ |
| double | var_x_ |
| double | var_y_ |
Link between one node and another.
Indicates that position of node j, p(j) = p(i) + (N(dx,var_x),N(dy,var_y)) where N(m,var) is a gaussian with mean m and variance var
| fhs_arc::fhs_arc | ( | int | i, |
| int | j, | ||
| double | dx, | ||
| double | dy, | ||
| double | var_x, | ||
| double | var_y | ||
| ) | [inline] |
| void fhs_arc::b_read | ( | vsl_b_istream & | bfs | ) |
Read from binary stream.
Definition at line 21 of file fhs_arc.cxx.
| void fhs_arc::b_write | ( | vsl_b_ostream & | bfs | ) | const |
Write to binary stream.
Definition at line 10 of file fhs_arc.cxx.
| double fhs_arc::dx | ( | ) | const [inline] |
| double fhs_arc::dy | ( | ) | const [inline] |
| fhs_arc fhs_arc::flipped | ( | ) | const [inline] |
| unsigned fhs_arc::i | ( | ) | const [inline] |
| unsigned fhs_arc::j | ( | ) | const [inline] |
| double fhs_arc::var_x | ( | ) | const [inline] |
| double fhs_arc::var_y | ( | ) | const [inline] |
double fhs_arc::dx_ [private] |
double fhs_arc::dy_ [private] |
unsigned fhs_arc::i_ [private] |
unsigned fhs_arc::j_ [private] |
double fhs_arc::var_x_ [private] |
double fhs_arc::var_y_ [private] |
1.7.5.1