Show
Ignore:
Timestamp:
09/01/11 20:13:22 (13 years ago)
Author:
sindj
Message:

Robustlib.h heavily commented. Commentary added in send_state_message and add_and_remove_condition methods. JS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/robust/robustlib.cpp

    r1383 r1384  
    122122                        }                                                
    123123 
    124                         toprow* as_toprow = (toprow*)this;                                               
     124                        toprow* as_toprow = (toprow*)this;       
     125 
     126                        //cout << "Current condition:" << as_toprow->condition_sum << endl; 
    125127 
    126128                        int dimension = simplex->vertices.size()-1; 
     
    143145                                extended_coords.ins(0,-1); 
    144146 
    145                                 cout << "Ext. coords:" << extended_coords << "Condition sum:" << as_toprow->condition_sum << endl; 
     147                                //cout << "Ext. coords:" << extended_coords << "  Condition sum:" << as_toprow->condition_sum << endl; 
    146148 
    147149                                double a = extended_coords*as_toprow->condition_sum; 
     
    154156                                //cout << "a0:" << a_0 << " a0 coords:" << base_vertex->get_coordinates() << " am:" << a_m << " am coords:" << (*vert_ref)->get_coordinates() << endl; 
    155157 
    156                                 cout << "Absolute coords:(V"  << row_count << ")" << (*vert_ref)->get_coordinates() << endl; 
     158                                //cout << "Absolute coords:(V"  << row_count << ")" << (*vert_ref)->get_coordinates() << endl; 
    157159                                //cout << "Relative coords:(V"  << row_count << ")" << relative_coords << endl; 
    158160 
     
    257259                         
    258260                        simplex->probability = int_value; 
    259                         cout << "Probability:" << int_value << endl; 
     261                        //cout << "Probability:" << int_value << endl; 
    260262                        return int_value;                
    261263                }