mirror of
https://github.com/boostorg/graph.git
synced 2026-02-01 08:32:11 +00:00
https://svn.boost.org/svn/boost/trunk ........ r43206 | danieljames | 2008-02-10 09:55:03 +0000 (Sun, 10 Feb 2008) | 1 line Fix some broken links. ........ r43209 | danieljames | 2008-02-10 14:56:22 +0000 (Sun, 10 Feb 2008) | 1 line Link to people pages on the website, as they've been removed from the download. ........ r43210 | danieljames | 2008-02-10 15:02:17 +0000 (Sun, 10 Feb 2008) | 1 line Point links to the pages that used to be in 'more' to the site. ........ r43212 | danieljames | 2008-02-10 16:10:16 +0000 (Sun, 10 Feb 2008) | 1 line Fix links on the home page as well. ........ r43213 | danieljames | 2008-02-10 16:21:22 +0000 (Sun, 10 Feb 2008) | 1 line Generated documentation which is no longer generated. ........ [SVN r43214]
109 lines
2.4 KiB
HTML
109 lines
2.4 KiB
HTML
<HTML>
|
|
<!--
|
|
-- Copyright (c) Jeremy Siek, Lie-Quan Lee, and Andrew Lumsdaine 2000
|
|
--
|
|
-- Distributed under the Boost Software License, Version 1.0.
|
|
-- (See accompanying file LICENSE_1_0.txt or copy at
|
|
-- http://www.boost.org/LICENSE_1_0.txt)
|
|
-->
|
|
<Head>
|
|
<Title>Boost Graph Library: ColorValue Concept</Title>
|
|
<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
|
|
ALINK="#ff0000">
|
|
<IMG SRC="../../../boost.png"
|
|
ALT="C++ Boost" width="277" height="86">
|
|
|
|
<BR Clear>
|
|
|
|
|
|
<H1><A NAME="concept:ColorValue"></A>
|
|
ColorValue
|
|
</H1>
|
|
|
|
<P>
|
|
This concept describes the requirements for the type used for color
|
|
values, as in for coloring a graph during a breath-first search to
|
|
mark which vertices have been visited.
|
|
|
|
<P>
|
|
|
|
<h3>Refinement of</h3> <a
|
|
href="http://www.sgi.com/tech/stl/EqualityComparable.html">EqualityComparable</a>
|
|
and <a
|
|
href="http://www.sgi.com/tech/stl/DefaultConstructible.html">DefaultConstructible</a>
|
|
|
|
|
|
<h3>Notation</h3>
|
|
|
|
<Table>
|
|
<TR>
|
|
<TD><tt>T</tt></TD>
|
|
<TD>A type that is a model of ColorValue.</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD><tt>cv</tt></TD>
|
|
<TD>An object of type <tt>T</tt>.</TD>
|
|
</TR>
|
|
|
|
</table>
|
|
|
|
<h3>Valid Expressions</h3>
|
|
|
|
<Table border>
|
|
|
|
<tr>
|
|
<th>Name</th><th>Expression</th><th>Return Type</th><th>Description</th>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Get Color White </td>
|
|
<TD><TT>color_traits<T>::white()</TT></TD>
|
|
<TD><TT>T</TT></TD>
|
|
<TD>Returns an object that represents the color white.</TD>
|
|
</TR>
|
|
|
|
<tr>
|
|
<td>Get Color Gray </td>
|
|
<TD><TT>color_traits<T>::gray()</TT></TD>
|
|
<TD><TT>T</TT></TD>
|
|
<TD>Returns an object that represents the color gray.</TD>
|
|
</TR>
|
|
|
|
<tr>
|
|
<td>Get Color Black </td>
|
|
<TD><TT>color_traits<T>::black()</TT></TD>
|
|
<TD><TT>T</TT></TD>
|
|
<TD>Returns an object that represents the color black.</TD>
|
|
</TR>
|
|
|
|
</TABLE>
|
|
|
|
<P>
|
|
</LI>
|
|
</UL>
|
|
|
|
<h3>Models</h3>
|
|
|
|
<ul>
|
|
<li><tt>default_color_type</tt> (in <a href="../../../boost/graph/properties.hpp"><tt>boost/graph/properties.hpp</tt>)
|
|
</ul>
|
|
|
|
|
|
<br>
|
|
<HR>
|
|
<TABLE>
|
|
<TR valign=top>
|
|
<TD nowrap>Copyright © 2000-2001</TD><TD>
|
|
<A HREF="http://www.boost.org/people/jeremy_siek.htm">Jeremy Siek</A>,
|
|
Indiana University (<A
|
|
HREF="mailto:jsiek@osl.iu.edu">jsiek@osl.iu.edu</A>)<br>
|
|
<A HREF="http://www.boost.org/people/liequan_lee.htm">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee@cs.indiana.edu">llee@cs.indiana.edu</A>)<br>
|
|
<A HREF=http://www.osl.iu.edu/~lums>Andrew Lumsdaine</A>,
|
|
Indiana University (<A
|
|
HREF="mailto:lums@osl.iu.edu">lums@osl.iu.edu</A>)
|
|
</TD></TR></TABLE>
|
|
|
|
</BODY>
|
|
</HTML>
|