| 1 | package AI::Genetic::Pro::Macromolecule::Types; | ||||||||||
| 2 | 1 | our $VERSION = '0.09280.0_001'; | |||||||||
| 3 | |||||||||||
| 4 | |||||||||||
| 5 | |||||||||||
| 6 | # ABSTRACT: Specific types for AI::Genetic::Pro::Macromolecule | ||||||||||
| 7 | |||||||||||
| 8 | 1 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 1 | ▶ | use MooseX::Types::Moose qw(Str); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 10 | 1 | ▶ | use MooseX::Types -declare => [qw(Probability AIGeneticPro)]; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | 1 | ▶ | use namespace::autoclean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 12 | |||||||||||
| 13 | 1 | class_type AIGeneticPro, { class => 'AI::Genetic::Pro' }; | |||||||||
| 14 | |||||||||||
| 15 | 0 | ▶ | subtype Probability, as Str, where { $_ < 1 and $_ > 0 }; | ||||||||
|
Subroutine
__ANON__: not called CC=2 SCAR=13.0
Branch: 1 branch
| |||||||||||
| 16 | |||||||||||
| 17 | |||||||||||
| 18 | 1 | __PACKAGE__->meta->make_immutable; | |||||||||
| 19 | |||||||||||
| 20 | |||||||||||
| 21 | |||||||||||
| 22 | |||||||||||
| 23 | =pod | ||||||||||
| 24 | |||||||||||
| 25 | =head1 NAME | ||||||||||
| 26 | |||||||||||
| 27 | AI::Genetic::Pro::Macromolecule::Types - Specific types for AI::Genetic::Pro::Macromolecule | ||||||||||
| 28 | |||||||||||
| 29 | =head1 VERSION | ||||||||||
| 30 | |||||||||||
| 31 | version 0.09280.0_001 | ||||||||||
| 32 | |||||||||||
| 33 | =head1 DESCRIPTION | ||||||||||
| 34 | |||||||||||
| 35 | This module defines specific types and type coercions to be used by | ||||||||||
| 36 | AI::Genetic::Pro::Macromolecule. | ||||||||||
| 37 | |||||||||||
| 38 | |||||||||||
| 39 | |||||||||||
| 40 | =head1 AUTHOR | ||||||||||
| 41 | |||||||||||
| 42 | Bruno Vecchi <vecchi.b gmail.com> | ||||||||||
| 43 | |||||||||||
| 44 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 45 | |||||||||||
| 46 | This software is copyright (c) 2009 by Bruno Vecchi. | ||||||||||
| 47 | |||||||||||
| 48 | This is free software; you can redistribute it and/or modify it under | ||||||||||
| 49 | the same terms as the Perl 5 programming language system itself. | ||||||||||
| 50 | |||||||||||
| 51 | =cut | ||||||||||
| 52 | |||||||||||
| 53 | |||||||||||
| 54 | |||||||||||
| 55 | __END__ | ||||||||||