Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vsrl_dynamic_program Class Reference

#include <vsrl_dynamic_program.h>

List of all members.


Detailed Description

Definition at line 17 of file vsrl_dynamic_program.h.

Public Member Functions

 vsrl_dynamic_program ()
 ~vsrl_dynamic_program ()
void set_tokens (token_list &l1, token_list &l2)
void set_inner_cost (double cost)
void set_outer_cost (double cost)
void set_continuity_cost (double cost)
void set_search_range (int range)
double execute ()
void define_search_range ()
void define_search_range (vnl_vector< int > curr_row)
void print_direct_cost (int i, int j)
void print_cost (int i, int j)
void print_direct_costs (int i)
void print_costs (int i)
void print_assignment_node (int i, int j)
void print_assignment_nodes (int i)
void print_assignment (int i)
void print_assignments ()

Protected Member Functions

bool allocate_cost_matrix ()
void deallocate_cost_matrix ()
void compute_cost (int i, int j)
double optimum_assignment ()

Protected Attributes

token_list list1_
token_list list2_
double inner_cost_
double outer_cost_
double continuity_cost_
int search_range_
vcl_vector< int > lower_search_range_
vcl_vector< int > upper_search_range_
assignment_node ** cost_matrix_
int num_row_
int num_col_
vsrl_null_tokeninner_null_token_
vsrl_null_tokenouter_null_token_

Classes

struct  assignment_node


Constructor & Destructor Documentation

vsrl_dynamic_program::vsrl_dynamic_program  ) 
 

Definition at line 11 of file vsrl_dynamic_program.cxx.

vsrl_dynamic_program::~vsrl_dynamic_program  ) 
 

Definition at line 31 of file vsrl_dynamic_program.cxx.


Member Function Documentation

bool vsrl_dynamic_program::allocate_cost_matrix  )  [protected]
 

Definition at line 161 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::compute_cost int  i,
int  j
[protected]
 

Definition at line 240 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::deallocate_cost_matrix  )  [protected]
 

Definition at line 193 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::define_search_range vnl_vector< int >  curr_row  ) 
 

Definition at line 110 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::define_search_range  ) 
 

Definition at line 89 of file vsrl_dynamic_program.cxx.

double vsrl_dynamic_program::execute  ) 
 

Definition at line 207 of file vsrl_dynamic_program.cxx.

double vsrl_dynamic_program::optimum_assignment  )  [protected]
 

Definition at line 412 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_assignment int  i  ) 
 

Definition at line 539 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_assignment_node int  i,
int  j
 

Definition at line 531 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_assignment_nodes int  i  ) 
 

Definition at line 524 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_assignments  ) 
 

Definition at line 552 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_cost int  i,
int  j
 

Definition at line 496 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_costs int  i  ) 
 

Definition at line 514 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_direct_cost int  i,
int  j
 

Definition at line 478 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::print_direct_costs int  i  ) 
 

Definition at line 506 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::set_continuity_cost double  cost  ) 
 

Definition at line 148 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::set_inner_cost double  cost  ) 
 

Definition at line 133 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::set_outer_cost double  cost  ) 
 

Definition at line 140 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::set_search_range int  range  ) 
 

Definition at line 154 of file vsrl_dynamic_program.cxx.

void vsrl_dynamic_program::set_tokens token_list l1,
token_list l2
 

Definition at line 41 of file vsrl_dynamic_program.cxx.


Member Data Documentation

double vsrl_dynamic_program::continuity_cost_ [protected]
 

Definition at line 70 of file vsrl_dynamic_program.h.

assignment_node** vsrl_dynamic_program::cost_matrix_ [protected]
 

Definition at line 78 of file vsrl_dynamic_program.h.

double vsrl_dynamic_program::inner_cost_ [protected]
 

Definition at line 68 of file vsrl_dynamic_program.h.

vsrl_null_token* vsrl_dynamic_program::inner_null_token_ [protected]
 

Definition at line 82 of file vsrl_dynamic_program.h.

token_list vsrl_dynamic_program::list1_ [protected]
 

Definition at line 65 of file vsrl_dynamic_program.h.

token_list vsrl_dynamic_program::list2_ [protected]
 

Definition at line 66 of file vsrl_dynamic_program.h.

vcl_vector<int> vsrl_dynamic_program::lower_search_range_ [protected]
 

Definition at line 73 of file vsrl_dynamic_program.h.

int vsrl_dynamic_program::num_col_ [protected]
 

Definition at line 80 of file vsrl_dynamic_program.h.

int vsrl_dynamic_program::num_row_ [protected]
 

Definition at line 79 of file vsrl_dynamic_program.h.

double vsrl_dynamic_program::outer_cost_ [protected]
 

Definition at line 69 of file vsrl_dynamic_program.h.

vsrl_null_token* vsrl_dynamic_program::outer_null_token_ [protected]
 

Definition at line 83 of file vsrl_dynamic_program.h.

int vsrl_dynamic_program::search_range_ [protected]
 

Definition at line 71 of file vsrl_dynamic_program.h.

vcl_vector<int> vsrl_dynamic_program::upper_search_range_ [protected]
 

Definition at line 74 of file vsrl_dynamic_program.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:48:25 2008 for contrib/gel/vsrl by  doxygen 1.4.4