COIN-OR::LEMON - Graph Library

Changeset 130:88c4f7943b75 in lemon-main


Ignore:
Timestamp:
04/13/08 09:20:43 (17 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Aliases added to some graphToEps() named params.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_to_eps.h

    r128 r130  
    10921092    //CleanUp:
    10931093    if(_pleaseRemoveOsStream) {delete &os;}
    1094   }
     1094  }
     1095
     1096  ///\name Aliases
     1097  ///These are just some aliases to other parameter setting functions.
     1098
     1099  ///@{
     1100
     1101  ///An alias for arcWidths()
     1102
     1103  ///An alias for arcWidths()
     1104  ///
     1105  template<class X> GraphToEps<ArcWidthsTraits<X> > edgeWidths(const X &x)
     1106  {
     1107    return arcWidths(x);
     1108  }
     1109
     1110  ///An alias for arcColors()
     1111
     1112  ///An alias for arcColors()
     1113  ///
     1114  template<class X> GraphToEps<ArcColorsTraits<X> >
     1115  edgeColors(const X &x)
     1116  {
     1117    return arcColors(x);
     1118  }
     1119
     1120  ///An alias for arcWidthScale()
     1121
     1122  ///An alias for arcWidthScale()
     1123  ///
     1124  GraphToEps<T> &edgeWidthScale(double d) {return arcWidthScale(d);}
     1125
     1126  ///An alias for autoArcWidthScale()
     1127
     1128  ///An alias for autoArcWidthScale()
     1129  ///
     1130  GraphToEps<T> &autoEdgeWidthScale(bool b=true)
     1131  {
     1132    return autoArcWidthScale(b);
     1133  }
     1134 
     1135  ///An alias for absoluteArcWidths()
     1136
     1137  ///An alias for absoluteArcWidths()
     1138  ///
     1139  GraphToEps<T> &absoluteEdgeWidths(bool b=true)
     1140  {
     1141    return absoluteArcWidths(b);
     1142  }
     1143 
     1144  ///An alias for parArcDist()
     1145
     1146  ///An alias for parArcDist()
     1147  ///
     1148  GraphToEps<T> &parEdgeDist(double d) {return parArcDist(d);}
     1149 
     1150  ///An alias for hideArcs()
     1151 
     1152  ///An alias for hideArcs()
     1153  ///
     1154  GraphToEps<T> &hideEdges(bool b=true) {return hideArcs(b);}
     1155
     1156  ///@}
    10951157};
    10961158
Note: See TracChangeset for help on using the changeset viewer.