- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# accessible.hh

Go to the documentation of this file.

    00001 // accessible.hh: this file is part of the Vaucanson project.
    00002 //
    00003 // Vaucanson, a generic library for finite state machines.
    00004 //
    00005 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2008 The Vaucanson Group.
    00006 //
    00007 // This program is free software; you can redistribute it and/or
    00008 // modify it under the terms of the GNU General Public License
    00009 // as published by the Free Software Foundation; either version 2
    00010 // of the License, or (at your option) any later version.
    00011 //
    00012 // The complete GNU General Public Licence Notice can be found as the
    00013 // `COPYING' file in the root directory.
    00014 //
    00015 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
    00016 //
    00017 #ifndef VCSN_ALGORITHMS_ACCESSIBLE_HH
    00018 # define VCSN_ALGORITHMS_ACCESSIBLE_HH
    00019
    00034 // INTERFACE: HList accessible_states(const Automaton& a) { return list_of_set(vcsn::accessible_states(*a)); }
    00035
    00036 // INTERFACE: Automaton accessible(const Automaton& a) { return vcsn::accessible(*a); }
    00037
    00038 // INTERFACE: void accessible_here(Automaton& a) { return vcsn::accessible_here(*a); }
    00039
    00040 // INTERFACE: HList coaccessible_states(const Automaton& a) { return list_of_set(vcsn::coaccessible_states(*a)); }
    00041
    00042 // INTERFACE: Automaton coaccessible(const Automaton& a) { return vcsn::coaccessible(*a); }
    00043
    00044 // INTERFACE: void coaccessible_here(Automaton& a) { return vcsn::coaccessible_here(*a); }
    00045
    00046 # include <vaucanson/design_pattern/design_pattern.hh>
    00047 # include <vaucanson/automata/concept/automata.hh>
    00048
    00049 # include <set>
    00050
    00051 namespace vcsn {
    00052
    00064   template<typename A, typename AI>
    00065   std::set<typename Element<A, AI>::hstate_t>
    00066   accessible_states(const Element<A, AI>& a);
    00067
    00079   template<typename A, typename AI>
    00080   Element<A, AI>
    00081   accessible(const Element<A, AI>& a);
    00082
    00095   template<typename A, typename AI>
    00096   void
    00097   accessible_here(Element<A, AI>& a);
    00098
    00109   template<typename A, typename AI>
    00110   std::set<typename Element<A, AI>::hstate_t>
    00111   coaccessible_states(const Element<A, AI>& a);
    00112
    00125   template<typename A, typename AI>
    00126   Element<A, AI>
    00127   coaccessible(const Element<A, AI>& a);
    00128
    00141   template<typename A, typename AI>
    00142   void
    00143   coaccessible_here(Element<A, AI>& a);
    00144
    00147 } // vcsn
    00148
    00149
    00150 # if !defined VCSN_USE_INTERFACE_ONLY && !defined VCSN_USE_LIB
    00151 #  include <vaucanson/algorithms/accessible.hxx>
    00152 # endif // VCSN_USE_INTERFACE_ONLY
    00153
    00154
    00155 #endif // ! VCSN_ALGORITHMS_ACCESSIBLE_HH