COIN-OR::LEMON - Graph Library

Changeset 1574:697ed4dd309a in lemon-0.x


Ignore:
Timestamp:
07/20/05 10:33:33 (19 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2073
Message:
  • Doc improvements, spell checks
  • Obsolete \todo's removed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_to_eps.h

    r1573 r1574  
    5656  Color(double r,double g,double b) :_r(r),_g(g),_b(b) {};
    5757  ///Returns the red component
    58 
     58 
    5959  ///\todo \c red() could be a better name...
     60  ///
    6061  double getR() const {return _r;}
    6162  ///Returns the green component
     
    8384
    8485  ///Constructor
    85   ///\param have_white indicates wheter white is
     86  ///\param have_white indicates whether white is
    8687  ///amongst the provided color (\c true) or not (\c false). If it is true,
    8788  ///white will be assigned to \c 0.
     
    9091  ///If \c num is less then 26/27 then the default color list is cut. Otherwise
    9192  ///the color list is filled repeatedly with the default color list.
     93  ///(The colors can be changed later on.)
    9294  ColorSet(bool have_white=false,int num=0)
    9395  {
     
    145147  ///Sets the number of the exiting colors.
    146148  void resize(int s) { colors.resize(s);}
    147   ///Returns the munber of the existing colors.
     149  ///Returns the number of the existing colors.
    148150  std::size_t size() const { return colors.size();}
    149151};
     
    160162
    161163///Returns black for light colors and white for the dark ones.
    162 ///\todo weighted average would be better
    163164inline Color distantBW(const Color &c){
    164165  double v=(.2125*c.getR()+.7154*c.getG()+.0721*c.getB())<.5?1:0;
     
    598599
    599600  ///Enables parallel edges
    600   ///\todo Partially implemented
    601601  GraphToEps<T> &enableParallel(bool b=true) {_enableParallel=b;return *this;}
    602602 
Note: See TracChangeset for help on using the changeset viewer.