#include <vsrl_token.h>
Inheritance diagram for vsrl_token:

Definition at line 15 of file vsrl_token.h.
Public Member Functions | |
| vsrl_token () | |
| virtual | ~vsrl_token () |
| virtual bool | null_token () |
| does this token represent a null assignment?. | |
| virtual bool | intensity_token () |
| is this token an intensity token ?. | |
| virtual double | cost (vsrl_token *) |
| what is the direct cost of assigning this token to tok. | |
| virtual double | incremental_cost (vsrl_token *, vsrl_token *, vsrl_token *) |
| what is the incremental cost of going from from this to tok2 given the assignment going from tok_p to tok_2p. | |
| int | get_index () |
| get the index of this token. | |
| void | set_index (int index) |
| set the index of this token. | |
| vsrl_token * | get_assigned_token () |
| get the assigned token. | |
| void | set_assigned_token (vsrl_token *tok) |
| set the assigned token. | |
| void | set_position (double x, double y) |
| set the x and y position. | |
| void | get_position (double &x, double &y) |
| get the x and y position. | |
| double | get_x () |
| double | get_y () |
Private Attributes | |
| int | index_ |
| vsrl_token * | assigned_token_ |
| double | x_ |
| the x position | |
| double | y_ |
| the y position | |
|
|
Definition at line 26 of file vsrl_token.h. |
|
|
Definition at line 29 of file vsrl_token.h. |
|
|
what is the direct cost of assigning this token to tok.
Reimplemented in vsrl_intensity_token, and vsrl_null_token. Definition at line 38 of file vsrl_token.h. |
|
|
get the assigned token.
Definition at line 50 of file vsrl_token.h. |
|
|
get the index of this token.
Definition at line 44 of file vsrl_token.h. |
|
||||||||||||
|
get the x and y position.
Definition at line 59 of file vsrl_token.h. |
|
|
Definition at line 61 of file vsrl_token.h. |
|
|
Definition at line 62 of file vsrl_token.h. |
|
||||||||||||||||
|
what is the incremental cost of going from from this to tok2 given the assignment going from tok_p to tok_2p.
Definition at line 41 of file vsrl_token.h. |
|
|
is this token an intensity token ?.
Reimplemented in vsrl_intensity_token. Definition at line 35 of file vsrl_token.h. |
|
|
does this token represent a null assignment?.
Reimplemented in vsrl_null_token. Definition at line 32 of file vsrl_token.h. |
|
|
set the assigned token.
Definition at line 53 of file vsrl_token.h. |
|
|
set the index of this token.
Definition at line 47 of file vsrl_token.h. |
|
||||||||||||
|
set the x and y position.
Definition at line 56 of file vsrl_token.h. |
|
|
Definition at line 18 of file vsrl_token.h. |
|
|
Definition at line 17 of file vsrl_token.h. |
|
|
the x position
Definition at line 20 of file vsrl_token.h. |
|
|
the y position
Definition at line 21 of file vsrl_token.h. |
1.4.4