CGAL 5.5  2D Polyline Simplification

The polyline simplification algorithm stores in the vertices whether a vertex can be removed, and the cost of the removal.
Public Types  
typedef unspecified_type  FT 
A number type which must be the same as the FT of the geometric traits class of the triangulation.  
Access Functions  
bool  is_removable () const 
indicates whether the vertex can be removed.  
void  set_removable (bool b) 
allows to set whether the vertex can be removed.  
FT  cost () const 
returns the cost of the vertex removal.  
void  set_cost (const FT &ft) 
allows to set the cost of the vertex removal.  