1. 08 Jul, 2011 10 commits
    • David Moreira's avatar
      Update Vaucanson version (1.3.9) · edde65a3
      David Moreira authored
      * configure.ac: Update Vaucanson version to 1.3.9.
      edde65a3
    • David Moreira's avatar
      Downgrade sub_normalized.hxx · e684d820
      David Moreira authored
      * include/vaucanson/algorithms/sub_normalized.hxx: Downgrade (check
      error for fmp).
      e684d820
    • David Moreira's avatar
      Add star_alphabet_command file · fc22e4fc
      David Moreira authored
      * taf-kit/src/Makefile.am: add
      taf-kit/src/star_alphabet_command.hh, and
      taf-kit/src/star_alphabet_command.hx
      fc22e4fc
    • David Moreira's avatar
      Work on infiltration, sub_normalize, and shuffle · d0fac696
      David Moreira authored
      * include/vaucanson/algorithms/infiltration.hxx,
      * include/vaucanson/algorithms/sub_normalize.hxx,
      * include/vaucanson/algorithms/shuffle.hxx: Correct
      bug.
      d0fac696
    • David Moreira's avatar
      Change type for RationalNumber. · b6ebe593
      David Moreira authored
      * include/vaucanson/algebra/implementation/semiring/q_number.hh,
      * include/vaucanson/algebra/implementation/semiring/q_number.hh:
      Chagen type for RationalNumber.
      b6ebe593
    • David Moreira's avatar
      Correct Rational Number. · 734f5535
      David Moreira authored
      * include/vaucanson/algebra/implementation/semiring/q_number.hxx:
      Correct rational number operator.
      734f5535
    • David Moreira's avatar
      Add star_alphabet in taf-kit. · 4eaebb64
      David Moreira authored
      * taf-kit/src/cmd_wt.cc,
      * taf-kit/src/star_alphabet_command.hh,
      * taf-kit/src/star_alphabet_command.hxx:
      Add star_alphabet in taf-kit factory.
      4eaebb64
    • David Moreira's avatar
      Create demonstration in data/automata · a74f9872
      David Moreira authored
      * configure.ac,
      * data/automata/Makefile.am,
      * data/automata/char-b/Makefile.am,
      * data/automata/char-b/evena.cc,
      * data/automata/char-b/oddb.cc,
      * data/automata/char-char-b/Makefile.am,
      * data/automata/char-f2/Makefile.am,
      * data/automata/char-f2/ring.cc,
      * data/automata/char-fmp-z/Makefile.am,
      * ata/automata/char-int-b/Makefile.am,
      * data/automata/char-q/Makefile.am,
      * data/automata/char-r/Makefile.am,
      * data/automata/char-zmax/Makefile.am,
      * data/automata/char-zmax/gag.cc,
      * data/automata/char-zmax/maxab.cc,
      * data/automata/char-zmin/Makefile.am,
      * data/automata/char-zmin/minab.cc,
      * data/automata/char-zmin/sag.cc,
      * data/automata/int-b/Makefile.am,
      * data/automata/int-z/Makefile.am: Create demonstration
      in data/automata for int-z, int-b, char-zmin, char-zmax,
      char-r, char-q, char-int-b, char-fmp-z, char-f2, char-char-b,
      and char-b. Create Makefile.am for demonstration, and update
      main Makefile.am
      a74f9872
    • David Moreira's avatar
      Correct bug in Taf-kit · fad543de
      David Moreira authored
      * taf-kit/src/library_command.hh: Correct three letters file
      bug.
      fad543de
    • David Moreira's avatar
      Correct operator== and change data type in Rational Number. · a32ac1cf
      David Moreira authored
      * include/vaucanson/algebra/implementation/q_number.hh,
      * include/vaucanson/algebra/implementation/q_number.hxx: Change
      data type to 'long long' instead of int. Correct operator== for
      null numbers.
      * include/vaucanson/misc/algebra.hh,
      * include/vaucanson/misc/algebra.hxx: Change type for lcm pgm
      and is_coprime functions (unsigned long long).
      a32ac1cf
  2. 07 Jul, 2011 7 commits
  3. 06 Jul, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Check is_trim() in prefix(), factor(), and suffix(). · d83aa3ff
      Alexandre Duret-Lutz authored
      * include/vaucanson/algorithms/factor.hh,
      include/vaucanson/algorithms/factor.hxx,
      include/vaucanson/algorithms/prefix.hh,
      include/vaucanson/algorithms/prefix.hxx,
      include/vaucanson/algorithms/suffix.hh,
      include/vaucanson/algorithms/suffix.hxx: Add is_trim precondition
      as reported by Jacques Sakarovitch.
      * src/tests/sanity/hhck.pl: Add support from checking is_trim()
      preconditions.
      d83aa3ff
  4. 01 Jul, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Fix two bugs in expand. · f1a3c1f6
      Alexandre Duret-Lutz authored
      * include/vaucanson/algorithms/krat_exp_expand.hxx (list_concat):
      Handle ONE and ZERO in lists.
      (MATCH__(Product, lhs, rhs)): Sum weights of identical element
      generated while expansing the product.
      * taf-kit/tests/vcsn-char-z.test: Add some test cases based on
      a report by Jacques Sakarovitch.
      f1a3c1f6
  5. 29 Jun, 2011 3 commits
    • Alexandre Duret-Lutz's avatar
      Fix parsing of Q numbers with g++-4.6. · 0903f28f
      Alexandre Duret-Lutz authored
      * include/vaucanson/algebra/implementation/semiring/numerical_semiring.hh,
      include/vaucanson/algebra/implementation/semiring/numerical_semiring.hxx
      (op_parse): Remove this overloading for RationalNumber.  Its
      incorrect usage of tellg() broke with g++-4.6, and the general
      definition of op_parse() in
      include/vaucanson/algebra/concept/semiring_base.hxx will call the
      operator<< code that is specialized for RationalNumber already.
      * include/vaucanson/algebra/implementation/semiring/q_number.hh,
      include/vaucanson/algebra/implementation/semiring/q_number.hxx
      (operator<<): Move into the vcsn::algebra namespace, so that Koening
      lookup works.  Also to not try to read past the end of the stream.
      0903f28f
    • Alexandre Duret-Lutz's avatar
      Do not call realtime in quotient. · d75080fa
      Alexandre Duret-Lutz authored
      * taf-kit/src/cmd_wt.cc (quotient_command): Do not call realtime.
      * taf-kit/tests/vcsn-int-z.test, taf-kit/tests/vcsn-int-b.test: Adjust.
      Do not call realtime in quotient.
      d75080fa
    • Alexandre Duret-Lutz's avatar
      Introduce eval-S. · 61422e37
      Alexandre Duret-Lutz authored
      * taf-kit/src/cmd_wt.cc (eval_command): Rename as ...
      (eval_S_command): ... this
      (eval_command): New version that does not call realtime.
      * taf-kit/tests/vcsn-char-b.test,
      taf-kit/tests/vcsn-char-fmp-b.test,
      taf-kit/tests/vcsn-char-z.test, taf-kit/tests/vcsn-int-b.test,
      taf-kit/tests/vcsn-int-z.test: Adjust.
      61422e37
  6. 27 Jun, 2011 5 commits
    • Alexandre Duret-Lutz's avatar
      Integrate shuffle and infiltration algorithm, from Pierre-Yves · f0968e90
      Alexandre Duret-Lutz authored
      Angrand <pangrand@gmail.com>.
      
      * include/vaucanson/algorithms/infiltration.hh,
      include/vaucanson/algorithms/infiltration.hxx,
      include/vaucanson/algorithms/shuffle.hh,
      include/vaucanson/algorithms/shuffle.hxx: New files.
      * include/Makefile.am: Add them.
      * lib/generate_libvcsn.rb (create?): Do not compile these
      in FMP contexts.
      * taf-kit/src/cmd_wt.cc (shuffle_command, infiltration_command):
      New functions.
      f0968e90
    • Alexandre Duret-Lutz's avatar
      Rename u-composition as composition. · 87c71be5
      Alexandre Duret-Lutz authored
      * taf-kit/src/cmd_fmp.cc (u_composition): Rename as ...
      (composition_R): ... this.
      (composition): New function similar to composition_R, but
      without subnormalization.
      * taf-kit/tests/vcsn-char-fmp-b.test: Adjust.
      87c71be5
    • Alexandre Duret-Lutz's avatar
      Call eps_removal after composition. · 44e9db9d
      Alexandre Duret-Lutz authored
      * include/vaucanson/algorithms/normalized_composition.hxx
      (do_compose): Call eps_removal_here() after composing two
      Boolean transducers.
      44e9db9d
    • Alexandre Duret-Lutz's avatar
      Rename composition as b-composition. · 6627e378
      Alexandre Duret-Lutz authored
      * taf-kit/src/cmd_fmp.cc (composition, composition_R): Rename as ...
      (b_composition, b_composition_R): ... these.  And compile
      only for Boolean weights.
      * taf-kit/tests/vcsn-char-fmp-b.test: Adjust.
      6627e378
    • Alexandre Duret-Lutz's avatar
      Implement the characteristic command (for free monoids only). · 5f741126
      Alexandre Duret-Lutz authored
      * include/vaucanson/algorithms/characteristic.hxx,
      include/vaucanson/algorithms/characteristic.hh: New files.
      * include/Makefile.am: Add them.
      * taf-kit/src/Makefile.am: Define BOOL_CONTEXT macros for
      all instances.
      * taf-kit/src/cmd_wt.cc (characteristic_command): New function.
      * taf-kit/src/common.hh (BOOL_CONTEXT_HEADER): Define.
      * taf-kit/src/getters.cc, taf-kit/src/getters.hh
      (get_boolean_aut): Rename as ...
      (get_single_band_aut): ... this because the automaton we
      read with this function is not always Boolean.
      (get_boolean_aut, locate_boolean_file): New functions.
      * taf-kit/src/cmd_fmp.cc (evaluation_command): Adjust call.
      * taf-kit/src/library_commands.hh (get_base_path): Define
      base_path as static so that it is computed only once.
      * taf-kit/src/pipe.hh, taf-kit/src/pipe_getters.hh,
      taf-kit/src/pipe_getters.hxx, taf-kit/src/pipe_writers.hxx:
      Implement I/O for BOOL_CONTEXT.
      5f741126
  7. 10 Jun, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      Add missing interface for aut_to_exp(). · e0989be5
      Alexandre Duret-Lutz authored
      * include/vaucanson/algorithms/aut_to_exp.hh: Add missing
      interface for the two-argument version of aut_to_exp when the
      second argument is vcsn::DefaultChooser.  G++ 4.6 complained
      today, but I'm surprised this issue hasn't come up before.
      e0989be5
  8. 03 Jun, 2011 2 commits
  9. 01 Jun, 2011 1 commit
    • Alexandre Duret-Lutz's avatar
      [cbs] · cfc5b912
      Alexandre Duret-Lutz authored
      * lib/timer.cc: Use vertex_descriptor instead of vertex_iterator
      to fix compilation with Boost 1.46.1.
      cfc5b912
  10. 19 May, 2011 1 commit
  11. 02 May, 2011 2 commits
    • Guillaume Fiette's avatar
      Add tests for f2 in taf-kit. · a97aa577
      Guillaume Fiette authored
      * taf-kit/tests/vcsn-char-f2.test: Add tests for f2.
      a97aa577
    • Guillaume Fiette's avatar
      Fix some problems due to the previous rebase on next. · d223f028
      Guillaume Fiette authored
      * taf-kit/src/cmd_r.cc: Fix bug in are_equivalent_command
      for compatibility with the f2 semiring.
      * include/vaucanson/algebra/implementation/semiring/cyclic_semiring.hxx:
      Remove useless inlines.
      * include/vaucanson/algebra/implementation/semiring/q_number.hh,
      include/vaucanson/algebra/implementation/semiring/q_number.hxx:
      Fix the >> operator.
      d223f028
  12. 29 Apr, 2011 6 commits