lemon/color.cc
author Peter Kovacs <kpeter@inf.elte.hu>
Sun, 15 Jun 2008 22:05:23 +0200
changeset 171 02f4d5d9bfd7
child 209 765619b7cbb2
permissions -rw-r--r--
Improve and redesign test programs + unify their output (ticket #25)
- Move graph related utilities form test_tools.h to graph_test.h.
- Move the contents of graph_utils_test.h to graph_utils_test.cc.
- Rename map_test.h -> graph_maps_test.h.
- Rename digraph_test.h -> graph_test.h.
- Many improvements in the following files:
* digraph_test.cc
* graph_test.cc
* graph_test.h
* graph_maps_test.h
* graph_utils_test.cc
* bfs_test.cc
* dfs_test.cc
* counter_test.cc
- Test programs print messages only if it really seems necessary.
- Remove \file commands form .cc test files.
alpar@128
     1
/* -*- C++ -*-
alpar@128
     2
 *
alpar@128
     3
 * This file is a part of LEMON, a generic C++ optimization library
alpar@128
     4
 *
alpar@128
     5
 * Copyright (C) 2003-2008
alpar@128
     6
 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
alpar@128
     7
 * (Egervary Research Group on Combinatorial Optimization, EGRES).
alpar@128
     8
 *
alpar@128
     9
 * Permission to use, modify and distribute this software is granted
alpar@128
    10
 * provided that this copyright notice appears in all copies. For
alpar@128
    11
 * precise terms see the accompanying LICENSE file.
alpar@128
    12
 *
alpar@128
    13
 * This software is provided "AS IS" with no warranty of any kind,
alpar@128
    14
 * express or implied, and with no claim as to its suitability for any
alpar@128
    15
 * purpose.
alpar@128
    16
 *
alpar@128
    17
 */
alpar@128
    18
alpar@128
    19
///\file
alpar@128
    20
///\brief Color constants
alpar@128
    21
alpar@128
    22
#include<lemon/color.h>
alpar@128
    23
alpar@128
    24
namespace lemon {
alpar@128
    25
alpar@128
    26
  const Color WHITE(1,1,1);
alpar@128
    27
  
alpar@128
    28
  const Color BLACK(0,0,0);
alpar@128
    29
  const Color RED(1,0,0);
alpar@128
    30
  const Color GREEN(0,1,0);
alpar@128
    31
  const Color BLUE(0,0,1);
alpar@128
    32
  const Color YELLOW(1,1,0);
alpar@128
    33
  const Color MAGENTA(1,0,1);
alpar@128
    34
  const Color CYAN(0,1,1);
alpar@128
    35
alpar@128
    36
  const Color GREY(0,0,0);
alpar@128
    37
  const Color DARK_RED(.5,0,0);
alpar@128
    38
  const Color DARK_GREEN(0,.5,0);
alpar@128
    39
  const Color DARK_BLUE(0,0,.5);
alpar@128
    40
  const Color DARK_YELLOW(.5,.5,0);
alpar@128
    41
  const Color DARK_MAGENTA(.5,0,.5);
alpar@128
    42
  const Color DARK_CYAN(0,.5,.5);
alpar@128
    43
    
alpar@128
    44
} //namespace lemon