txt stringlengths 202 72.4k |
|---|
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/concurrent-selecto-recombinative-EA.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Algor... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/p-peaks.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
# Examples of using auto-threading with a heav... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/royal-road.p6
### ----------------------------------------------------
#!/usr/bin/env p6
use v6;
use lib <../../lib>;
use Algorithm::E... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/concurrent-evolutionary-algorithm.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Algorit... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/META6.json
### ----------------------------------------------------
{
"name": "An Algorithm::Evolutionary::Simple set of examples",
... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/concurrent-p-peaks.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6.d.PREVIEW;
use Algorithm::E... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-freqs.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../lib>;
... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/concurrent-ea-leading-ones.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../lib... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/concurrent-ea-leading-ones-best.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../.... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-freqs-ap-rr.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../l... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/README.md
### ----------------------------------------------------
# Evolutionary computation examples
This directory contains most of ... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-compress.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../lib>... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-compress-fan.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-freqs-ap.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../lib>... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-compress-nowb.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../..... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/channel.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
# An example of using concurrent evaluation wi... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/max-ones.p6
### ----------------------------------------------------
#!/usr/bin/env raku
use v6;
use lib <lib ../../lib>;
use Algorith... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../lib>;
use Al... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-freqs-nowb.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../li... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/concurrent-evaluation.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Algorithm::Evolutio... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/examples/population-mixer-old.p6
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use lib <../../lib>;
us... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/benchmarks/evaluation-autothreading.p6
### ----------------------------------------------------
#!/usr/bin/env p6
# Examples of using auto-threa... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/benchmarks/sequential-evaluation.p6
### ----------------------------------------------------
#!/usr/bin/env p6
# Examples of using auto-threadin... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: resources/benchmarks/benchmark-max-ones.p6
### ----------------------------------------------------
#!/usr/bin/env p6
use v6;
use Algorithm::Evolutionary:... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: t/04-leading-ones.t
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Test;
use Algorithm::Evolutionary::Simple;... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: t/00-functions.t
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Test;
use Algorithm::Evolutionary::Simple;
m... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: t/02-royal-road.t
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Test;
use Algorithm::Evolutionary::Simple;
... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: t/03-p-peaks.t
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Test;
use Algorithm::Evolutionary::Fitness::P-P... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: t/01-basic.t
### ----------------------------------------------------
use v6.c;
use Test;
use Algorithm::Evolutionary::Simple;
my $population-size = 32;
... |
### ----------------------------------------------------
### -- Algorithm::Evolutionary::Simple
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: t/01-max-ones.t
### ----------------------------------------------------
#!/usr/bin/env perl6
use v6;
use Test;
use Algorithm::Evolutionary::Simple;
my... |
### ----------------------------------------------------
### -- Algorithm::Genetic
### -- Licenses: Artistic-2.0
### -- Authors: Sam Gillespie
### -- File: META6.json
### ----------------------------------------------------
{
"authors" : [
"Sam Gillespie"
],
"build-depends" : [ ],
"depends" : [ ],
"descri... |
### ----------------------------------------------------
### -- Algorithm::Genetic
### -- Licenses: Artistic-2.0
### -- Authors: Sam Gillespie
### -- File: LICENSE
### ----------------------------------------------------
The Artistic License 2.0
Copyright (c) 2000-2015, The Perl Foundation.
Everyone is permitted to c... |
### ----------------------------------------------------
### -- Algorithm::Genetic
### -- Licenses: Artistic-2.0
### -- Authors: Sam Gillespie
### -- File: readme.md
### ----------------------------------------------------
[](https://... |
### ----------------------------------------------------
### -- Algorithm::Genetic
### -- Licenses: Artistic-2.0
### -- Authors: Sam Gillespie
### -- File: .travis.yml
### ----------------------------------------------------
os:
- linux
- osx
language: perl6
perl6:
- latest
- 2016.01
install:
- rakudobrew bui... |
### ----------------------------------------------------
### -- Algorithm::Genetic
### -- Licenses: Artistic-2.0
### -- Authors: Sam Gillespie
### -- File: res/readme-header.md
### ----------------------------------------------------
[ 2000-2006, The Perl Foundation... |
### ----------------------------------------------------
### -- Algorithm::GooglePolylineEncoding
### -- Licenses: Artistic-2.0
### -- Authors: Simon Proctor
### -- File: README.md
### ----------------------------------------------------
[ 2000-2006, The Perl Foundation.
Everyone is... |
### ----------------------------------------------------
### -- Algorithm::Heap::Binary
### -- Licenses: Artistic-2.0
### -- Authors: cono
### -- File: README.md
### ----------------------------------------------------
[](https://trav... |
### ----------------------------------------------------
### -- Algorithm::Heap::Binary
### -- Licenses: Artistic-2.0
### -- Authors: cono
### -- File: .travis.yml
### ----------------------------------------------------
---
language: perl6
perl6:
- latest
...
|
### ----------------------------------------------------
### -- Algorithm::Heap::Binary
### -- Licenses: Artistic-2.0
### -- Authors: cono
### -- File: t/00-basic.t
### ----------------------------------------------------
use v6;
use Test;
use-ok('Algorithm::Heap::Binary');
done-testing;
# vim: ft=perl6
|
### ----------------------------------------------------
### -- Algorithm::Heap::Binary
### -- Licenses: Artistic-2.0
### -- Authors: cono
### -- File: t/01-class.t
### ----------------------------------------------------
use v6;
use Test;
use Algorithm::Heap::Binary;
my $heap = Algorithm::Heap::Binary.new;
isa-ok($... |
### ----------------------------------------------------
### -- Algorithm::Heap::Binary
### -- Licenses: Artistic-2.0
### -- Authors: cono
### -- File: t/02-binary-heap.t
### ----------------------------------------------------
use v6;
use Test;
use Algorithm::Heap::Binary;
my @numbers = 1 .. *;
my @letters = 'a' ..... |
### ----------------------------------------------------
### -- Algorithm::HierarchicalPAM
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: META6.json
### ----------------------------------------------------
{
"auth" : "cpan:TITSUKI",
"authors" : [
"titsuki"
],
"build-depends" : [
"Lib... |
### ----------------------------------------------------
### -- Algorithm::HierarchicalPAM
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: LICENSE
### ----------------------------------------------------
The Artistic License 2.0
Copyright (c) 2000-2006, The Perl Foundation.
Every... |
### ----------------------------------------------------
### -- Algorithm::HierarchicalPAM
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: README.md
### ----------------------------------------------------
[ 2000-2006, The Perl Foundation.
... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: README-work.md
### ----------------------------------------------------
# Algorithm::KDimensionalTree
Raku package with implementations of the [K-Dimensio... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: README.md
### ----------------------------------------------------
# Algorithm::KDimensionalTree
Raku package with implementations of the [K-Dimensional T... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: experiments/KDimensionalTree-demo.raku
### ----------------------------------------------------
#!/usr/bin/env raku
use v6.d;
use lib <. lib>;
use Algori... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: experiments/NodalKDTree-demo.raku
### ----------------------------------------------------
#!/usr/bin/env raku
use v6.d;
use lib <. lib>;
use Algorithm::N... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: experiments/KDTree-tests.raku
### ----------------------------------------------------
#!/usr/bin/env raku
use v6.d;
use lib <. lib>;
use Algorithm::KDim... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: experiments/Different-point-types-demo.raku
### ----------------------------------------------------
#!/usr/bin/env raku
use v6.d;
use lib <. lib>;
use A... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: resources/KDTreeTest.json
### ----------------------------------------------------
### -- Chunk 1 of 3
{
"points":[
[
7.902245284318181e1,
3.66874... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: resources/KDTreeTest.json
### ----------------------------------------------------
### -- Chunk 2 of 3
e1
],
[
1.4889079490824102e1,
7.4831801045... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: resources/KDTreeTest.json
### ----------------------------------------------------
### -- Chunk 3 of 3
98444e1,
5.159349370331293e1
],
[
7.69... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: t/02-gist.rakutest
### ----------------------------------------------------
#!/usr/bin/env raku
use v6.d;
use lib <. lib>;
use Algorithm::KDimensionalTre... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: t/01-basic-usage.rakutest
### ----------------------------------------------------
use v6.d;
use Test;
use lib <. lib>;
use Algorithm::KDimensionalTree;
... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: xt/10-Same-NNs-for-words-hamming.rakutest
### ----------------------------------------------------
use v6.d;
use Test;
use lib <. lib>;
use Algorithm::KDi... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: lib/Algorithm/NodalKDTree.rakumod
### ----------------------------------------------------
use v6.d;
# Taken from Rosetta Code: https://rosettacode.org/wi... |
### ----------------------------------------------------
### -- Algorithm::KDimensionalTree
### -- Licenses: Artistic-2.0
### -- Authors: Anton Antonov
### -- File: lib/Algorithm/KDimensionalTree.rakumod
### ----------------------------------------------------
use v6.d;
use Math::DistanceFunctions;
use Math::DistanceF... |
### ----------------------------------------------------
### -- Algorithm::Kruskal
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: META6.json
### ----------------------------------------------------
{
"auth": "zef:titsuki",
"authors": [
"titsuki"
],
"build-depends": [
],
"depends": [
... |
### ----------------------------------------------------
### -- Algorithm::Kruskal
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: LICENSE
### ----------------------------------------------------
The Artistic License 2.0
Copyright (c) 2000-2016, The Perl Foundation.
Everyone is p... |
### ----------------------------------------------------
### -- Algorithm::Kruskal
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: README.md
### ----------------------------------------------------
[ {
my $fh = open $input-pat... |
### ----------------------------------------------------
### -- Algorithm::Kruskal
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: t/in/01.txt
### ----------------------------------------------------
4 6 3
0 1 2
1 2 1
2 3 1
3 0 1
0 2 3
1 3 5
|
### ----------------------------------------------------
### -- Algorithm::Kruskal
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: t/in/02.txt
### ----------------------------------------------------
6 9 5
0 1 1
0 2 3
1 2 1
1 3 7
2 4 1
1 4 3
3 4 1
3 5 1
4 5 6
|
### ----------------------------------------------------
### -- Algorithm::Kruskal
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: t/in/03.txt
### ----------------------------------------------------
1 0 0
|
### ----------------------------------------------------
### -- Algorithm::Kruskal
### -- Licenses: Artistic-2.0
### -- Authors: titsuki
### -- File: t/in/04.txt
### ----------------------------------------------------
6 5 15
0 1 1
1 2 2
2 3 3
3 4 4
4 5 5
|
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: META6.json
### ----------------------------------------------------
{
"auth": "cpan:TITSUKI",
"authors": [
"Itsuki Toyota"
],
"build-depends": [
"LibraryMake",... |
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: LICENSE
### ----------------------------------------------------
The MIT License
Copyright (c) 1990 Jorge Nocedal
Copyright (c) 2007-2010 Naoaki Okazaki
Copyright (c) 2016 ti... |
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: README.md
### ----------------------------------------------------
[](https://github... |
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: dist.ini
### ----------------------------------------------------
name = Algorithm-LBFGS
[ReadmeFromPod]
; disable = true
filename = lib/Algorithm/LBFGS.pm6
[PruneFiles]
; m... |
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: example/sample.p6
### ----------------------------------------------------
use v6;
use NativeCall;
use lib 'lib';
use Algorithm::LBFGS;
sub lbfgs_evaluate_t($instance, $x, $g... |
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: t/01-basic.t
### ----------------------------------------------------
use v6;
use Test;
use Algorithm::LBFGS;
lives-ok { my Algorithm::LBFGS $lbfgs .= new; }, "Algorithm::LBF... |
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: t/03-minimize.t
### ----------------------------------------------------
use v6;
use Test;
use Algorithm::LBFGS;
use Algorithm::LBFGS::Parameter;
{
my Algorithm::LBFGS $lbfg... |
### ----------------------------------------------------
### -- Algorithm::LBFGS
### -- Licenses: MIT
### -- Authors: Itsuki Toyota
### -- File: t/02-status.t
### ----------------------------------------------------
use v6;
use Test;
use Algorithm::LBFGS;
use Algorithm::LBFGS::Parameter;
{
my Algorithm::LBFGS $lbf... |
### ----------------------------------------------------
### -- Algorithm::LCS
### -- Licenses: MIT
### -- Authors: Rob Hoelz, Raku Community
### -- File: META6.json
### ----------------------------------------------------
{
"auth": "zef:raku-community-modules",
"authors": [
"Rob Hoelz",
"Raku Community"
... |
### ----------------------------------------------------
### -- Algorithm::LCS
### -- Licenses: MIT
### -- Authors: Rob Hoelz, Raku Community
### -- File: LICENSE
### ----------------------------------------------------
Copyright (c) 2014 Rob Hoelz <rob at hoelz.ro>
Permission is hereby granted, free of charge, to any... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.