1. 16 Sep, 2009 6 commits
    • Jérôme Galtier's avatar
      Remove inheritance for iterator traits. · 4858014c
      Jérôme Galtier authored
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hh,
      include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hh,
      include/vaucanson/automata/implementation/iterators/transition_iterator_base.hh
      (iterator_traits_): Do not inherit from a base class, as it does not
      fit well with our static inheritance idiom.
      4858014c
    • Florent D'Halluin's avatar
      Cosmetic fixes. · 8c84347a
      Florent D'Halluin authored
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hxx,
      * include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hh:
      There.
      8c84347a
    • Florent D'Halluin's avatar
      Use const refs in iterator ctors. · dd4e10a2
      Florent D'Halluin authored
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hh,
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hxx,
      * include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hh,
      * include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hxx:
      Use const graph_t& instead of graph_t.  The iterators now work
      with bmig.
      dd4e10a2
    • Florent D'Halluin's avatar
      Add RDeltaIterator. · cad87887
      Florent D'Halluin authored
      * include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hh,
      * include/vaucanson/automata/implementation/iterators/rdelta_transition_iterator.hxx:
      New.  Interface and implementation.
      cad87887
    • Florent D'Halluin's avatar
      Small fixes in IteratorBase and DeltaTransitionIterator. · 738fd94d
      Florent D'Halluin authored
      * include/vaucanson/automata/implementation/iterators/transition_iterator_base.hxx:
      Fix constness in next().
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hh,
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hxx:
      Add typedef to simplify type names.
      Add default return value in op_weight().
      738fd94d
    • Florent D'Halluin's avatar
      Fix TransitionIteratorBase and DeltaTransitionIterator. · b14c66ad
      Florent D'Halluin authored
      Note: The iterator system compiles and DeltaTransitionIterator
      can be instanciated.
      
      * include/vaucanson/automata/implementation/iterators/transition_iterator_base.hh,
      * include/vaucanson/automata/implementation/iterators/transition_iterator_base.hxx:
      Have weight() return a semiring_elt_value_t instead of semiring_elt_t.
      Specialize iterator_traits_.
      Add typename where missing.
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hh,
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hxx:
      Fix iterator_traits_ to reflect changes in other files.
      Add typename where missing.
      b14c66ad
  2. 15 Sep, 2009 1 commit
    • Florent D'Halluin's avatar
      Add TransitionIteratorBase and DeltaTransitionIterator. · ab9a570b
      Florent D'Halluin authored
      * include/vaucanson/automata/implementation/iterators/transition_iterator_base.hh,
      * include/vaucanson/automata/implementation/iterators/transition_iterator_base.hxx,
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hh,
      * include/vaucanson/automata/implementation/iterators/delta_transition_iterator.hxx:
      New.  Interface and some implementation.
      ab9a570b