Algorithm-ConstructDFA2

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

0.06 March 2018
- use JSON to encode vertex sets

0.03 January 2018
- fix https://rt.cpan.org/Public/Bug/Display.html?id=124209
- fix https://rt.cpan.org/Public/Bug/Display.html?id=124210

0.01 January 2018
- Initial release

MANIFEST  view on Meta::CPAN

MANIFEST
t/03rand.t
t/99podcov.t
t/98podsyn.t
t/01basic.t
lib/Algorithm/ConstructDFA2.pm
README
Changes
Makefile.PL
META.yml                                 Module YAML meta-data (added by MakeMaker)
META.json                                Module JSON meta-data (added by MakeMaker)

META.json  view on Meta::CPAN

      },
      "configure" : {
         "requires" : {
            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "DBD::SQLite" : "1.54",
            "DBI" : "1.635",
            "JSON" : "0",
            "List::Util" : "0",
            "List::UtilsBy" : "0",
            "Log::Any" : "0",
            "Memoize" : "0",
            "Moo" : "0",
            "Types::Standard" : "0"
         }
      },
      "test" : {
         "requires" : {

META.json  view on Meta::CPAN

   },
   "release_status" : "stable",
   "resources" : {
      "repository" : {
         "type" : "git",
         "url" : "https://github.com/hoehrmann/Algorithm-ConstructDFA2.git",
         "web" : "https://github.com/hoehrmann/Algorithm-ConstructDFA2"
      }
   },
   "version" : "0.06",
   "x_serialization_backend" : "JSON::PP version 2.27300_01"
}

META.yml  view on Meta::CPAN

  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Algorithm-ConstructDFA2
no_index:
  directory:
    - t
    - inc
requires:
  DBD::SQLite: '1.54'
  DBI: '1.635'
  JSON: '0'
  List::Util: '0'
  List::UtilsBy: '0'
  Log::Any: '0'
  Memoize: '0'
  Moo: '0'
  Types::Standard: '0'
resources:
  repository: https://github.com/hoehrmann/Algorithm-ConstructDFA2.git
version: '0.06'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile.PL  view on Meta::CPAN

  NAME              => 'Algorithm::ConstructDFA2',
  VERSION_FROM      => 'lib/Algorithm/ConstructDFA2.pm', # finds $VERSION
  PREREQ_PM         => {
    'DBD::SQLite' => '1.54',
    'Types::Standard' => 0,
    'List::UtilsBy' => 0,
    'List::Util' => 0,
    'Moo' => 0,
    'Memoize' => 0,
    'Log::Any' => 0,
    'JSON' => 0,
    'DBI' => '1.635',
  },
  TEST_REQUIRES       => {
    'Test::More'      => 0,
    'List::UtilsBy'   => 0,
    'List::Util'      => 0,
    'List::MoreUtils' => 0,
    'Graph::Directed' => 0,
    'Graph::Feather'  => 0,
    'YAML::XS'        => 0,

lib/Algorithm/ConstructDFA2.pm  view on Meta::CPAN

use strict;
use warnings;
use 5.024000;
use Types::Standard qw/:all/;
use List::UtilsBy qw/sort_by nsort_by partition_by/;
use List::MoreUtils qw/uniq/;
use Moo;
use Memoize;
use Log::Any qw//;
use DBI;
use JSON;

our $VERSION = '0.06';

has 'input_alphabet' => (
  is       => 'ro',
  required => 1,
  isa      => ArrayRef[Int],
);

has 'input_vertices' => (

lib/Algorithm/ConstructDFA2.pm  view on Meta::CPAN

  required => 0,
  default  => sub {
    Log::Any->get_logger()
  },
);

has '_json' => (
  is       => 'rw',
  required => 0,
  default  => sub {
    JSON->new->canonical(1)->indent(0)->ascii(1)
  },
);

sub BUILD {
  my ($self) = @_;

  ###################################################################
  # Create dbh

  $self->_log->debug("Creating database");



( run in 1.735 second using v1.01-cache-2.11-cpan-140bd7fdf52 )