A Guide to Propeller
+Generated by Codox
Propeller 0.3.2
A Guide to Propeller
Propeller is an implementation of the Push programming language and the PushGP genetic programming system in Clojure.
For more information on Push and PushGP see http://pushlanguage.org.
Overview
diff --git a/docs/Adding_Genetic_Operators.html b/docs/Adding_Genetic_Operators.html index 1dcc40c..723490c 100644 --- a/docs/Adding_Genetic_Operators.html +++ b/docs/Adding_Genetic_Operators.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
Adding Genetic Operators
+Generated by Codox
Propeller 0.3.2
Adding Genetic Operators
In addition to the already-included genetic operators, you can add your own!
Variation Genetic Operators
-
diff --git a/docs/Adding_Problem.html b/docs/Adding_Problem.html
index 0b861b2..47b490d 100644
--- a/docs/Adding_Problem.html
+++ b/docs/Adding_Problem.html
@@ -1,6 +1,6 @@
-
- To add a new problem, you need training and test data. For Problem Synthesis Benchmark Problems (PSB2), you can fetch datasets using
psb2.core/fetch-examples
.
@@ -110,8 +110,7 @@
:umad-rate 0.1
:variation {:umad 1.0 :crossover 0.0}
:elitism false}
- (apply hash-map (map #(if (string? %) (read-string %) %) args))))
- (#?(:clj shutdown-agents)))
+ (apply hash-map (map #(if (string? %) (read-string %) %) args)))))
- Define a selection method function in
propeller.selection
that selects an individual from the population - Add the selection method in
propeller.selection/select-parent
under thecase
call:
diff --git a/docs/Additional_Instructions.html b/docs/Additional_Instructions.html
index ff28712..3de1ab7 100644
--- a/docs/Additional_Instructions.html
+++ b/docs/Additional_Instructions.html
@@ -1,6 +1,6 @@
- - Additional Instructions
- input_output.cljc diff --git a/docs/Generating_Documentation.html b/docs/Generating_Documentation.html index d684514..0a83817 100644 --- a/docs/Generating_Documentation.html +++ b/docs/Generating_Documentation.html @@ -1,6 +1,6 @@ -
- A Guide to Propeller
- Adding Genetic Operators
- Adding a Problem
- Adding a Selection Method
- Additional Instructions
- Generating Documentation for Propeller
- A Guide to Propeller
- Adding Genetic Operators
- Adding a Problem
- Adding a Selection Method
- Additional Instructions
- Generating Documentation for Propeller
Generated by Codox
Propeller 0.3.1
Adding a Problem
+Generated by Codox
Propeller 0.3.2
Adding a Problem
In general, a problem file has 3 components: train-and-test-data
, instructions
, error-function
, and -main
.
Generated by Codox
Propeller 0.3.1
Adding a Selection Method
+Generated by Codox
Propeller 0.3.2
Adding a Selection Method
Generated by Codox
Propeller 0.3.1
Table of contents
+Generated by Codox
Propeller 0.3.2
Table of contents
Generated by Codox
Propeller 0.3.1
Generating Documentation for Propeller
+Generated by Codox
Propeller 0.3.2
Generating Documentation for Propeller
In order to generate documentation, you’ll need Python and pip
installed.
To generate documentation with codox, run scripts/GenerateDocs.sh
in the command line from the scripts
directory. To make the script executable, you may need to first run chmod +x GenerateDocs.sh
. This will run “lein codox” on the command line to generate first batch of HTMl files. Then, it runs FunctionsToMD to take Push instructions generated by def-instruction
and spit it out to a Markdown file. Then, it runs HTMLFix to fix the ordered lists in Adding_Genetic_Operators.md
, Adding_Problem.md
, and Adding_Selection_Method.md
.
To generate documentation with codox, run scripts/GenerateDocs.sh
in the command line from the scripts
directory. To make the script executable, you may need to first run chmod +x GenerateDocs.sh
. This will run “lein codox” on the command line to generate first batch of HTMl files. Then, it runs FunctionsToMD to take Push instructions generated by def-instruction
and spit it out to a Markdown file. Then, it runs HTMLFix to fix the ordered lists in Adding_Genetic_Operators.md
, Adding_Problem.md
, and Adding_Selection_Method.md
.
Generated by Codox
Propeller 0.3.1
Propeller 0.3.1
Released under the EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0
Yet another Push-based genetic programming system in Clojure.
Installation
To install, add the following dependency to your project or build file:
[net.clojars.lspector/propeller "0.3.1"]
Topics
Namespaces
propeller.genome
The genetic material in Propeller. A plushy
is a list of Push instructions that represent a Push program. They hold the genetic material for an individual
. In the initial population, we create random plushys.
Generated by Codox
Propeller 0.3.2
Propeller 0.3.2
Released under the EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0
Yet another Push-based genetic programming system in Clojure.
Installation
To install, add the following dependency to your project or build file:
[net.clojars.lspector/propeller "0.3.2"]
Topics
Namespaces
propeller.genome
The genetic material in Propeller. A plushy
is a list of Push instructions that represent a Push program. They hold the genetic material for an individual
. In the initial population, we create random plushys.
Public variables and functions:
propeller.problems.PSB1.grade
FIXME: write docs
diff --git a/docs/propeller.genome.html b/docs/propeller.genome.html index 013f4ff..4922b10 100644 --- a/docs/propeller.genome.html +++ b/docs/propeller.genome.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.genome
The genetic material in Propeller. A plushy
is a list of Push instructions that represent a Push program. They hold the genetic material for an individual
. In the initial population, we create random plushys.
Generated by Codox
Propeller 0.3.2
propeller.genome
The genetic material in Propeller. A plushy
is a list of Push instructions that represent a Push program. They hold the genetic material for an individual
. In the initial population, we create random plushys.
make-random-plushy
(make-random-plushy instructions max-initial-plushy-size)
Creates and returns a new plushy made of random instructions and of a maximum size of max-initial-plushy-size.
plushy->push
(plushy->push plushy)
(plushy->push plushy argmap)
Returns the Push program expressed by the given plushy representation.
The function takes in a plushy representation as input and converts it into a Push program by iteratively processing the plushy elements and adding instructions to the push program. It also handles the case where there are open instructions that need to be closed before the end of the program.
diff --git a/docs/propeller.gp.html b/docs/propeller.gp.html index 3810883..ed0bc90 100644 --- a/docs/propeller.gp.html +++ b/docs/propeller.gp.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.gp
Main genetic programming loop.
+Generated by Codox
Propeller 0.3.2
propeller.gp
Main genetic programming loop.
gp
(gp {:keys [population-size max-generations error-function instructions max-initial-plushy-size solution-error-threshold mapper], :or {solution-error-threshold 0.0, mapper pmap}, :as argmap})
Main GP loop.
On each iteration, it creates a population of random plushies using a mapper function and genome/make-random-plushy function, then it sorts the population by the total error using the error-function and sort-by function. It then takes the best individual from the sorted population, and if the parent selection is set to epsilon-lexicase, it adds the epsilons to the argmap.
The function then checks if the custom-report argument is set, if so it calls that function passing the evaluated population, current generation and argmap. If not, it calls the report function passing the evaluated population, current generation and argmap.
diff --git a/docs/propeller.problems.PSB1.count-odds.html b/docs/propeller.problems.PSB1.count-odds.html index 6b5ee68..1ee0f7b 100644 --- a/docs/propeller.problems.PSB1.count-odds.html +++ b/docs/propeller.problems.PSB1.count-odds.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB1.count-odds
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB1.count-odds
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
FIXME: write docs
instructions
FIXME: write docs
diff --git a/docs/propeller.problems.PSB1.grade.html b/docs/propeller.problems.PSB1.grade.html index 957abcf..3a981c4 100644 --- a/docs/propeller.problems.PSB1.grade.html +++ b/docs/propeller.problems.PSB1.grade.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB1.grade
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB1.grade
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
FIXME: write docs
get-output
(get-output i)
returns the outputs of the grade function with JUST the letter grade
diff --git a/docs/propeller.problems.PSB1.scrabble-score.html b/docs/propeller.problems.PSB1.scrabble-score.html index 745ab07..abad38b 100644 --- a/docs/propeller.problems.PSB1.scrabble-score.html +++ b/docs/propeller.problems.PSB1.scrabble-score.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB1.scrabble-score
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB1.scrabble-score
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
FIXME: write docs
instructions
FIXME: write docs
diff --git a/docs/propeller.problems.PSB1.small-or-large.html b/docs/propeller.problems.PSB1.small-or-large.html index dd62179..d64b272 100644 --- a/docs/propeller.problems.PSB1.small-or-large.html +++ b/docs/propeller.problems.PSB1.small-or-large.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB1.small-or-large
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB1.small-or-large
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
FIXME: write docs
instructions
FIXME: write docs
diff --git a/docs/propeller.problems.PSB2.basement.html b/docs/propeller.problems.PSB2.basement.html index 3e2a3ee..8906859 100644 --- a/docs/propeller.problems.PSB2.basement.html +++ b/docs/propeller.problems.PSB2.basement.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.basement
BASEMENT from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.basement
BASEMENT from PSB2
Given a vector of integers, return the first index such that the sum of all integers from the start of the vector to that index (inclusive) is negative.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.bouncing-balls.html b/docs/propeller.problems.PSB2.bouncing-balls.html index 7ba365a..40b4baa 100644 --- a/docs/propeller.problems.PSB2.bouncing-balls.html +++ b/docs/propeller.problems.PSB2.bouncing-balls.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.bouncing-balls
BOUNCING BALLS from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.bouncing-balls
BOUNCING BALLS from PSB2
Given a starting height and a height after the first bounce of a dropped ball, calculate the bounciness index (height of first bounce / starting height). Then, given a number of bounces, use the bounciness index to calculate the total distance that the ball travels across those bounces.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.bowling.html b/docs/propeller.problems.PSB2.bowling.html index ff7fe4a..b8007ff 100644 --- a/docs/propeller.problems.PSB2.bowling.html +++ b/docs/propeller.problems.PSB2.bowling.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.bowling
BOWLING from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.bowling
BOWLING from PSB2
Given a string representing the individual bowls in a 10-frame round of 10 pin bowling, return the score of that round.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.camel-case.html b/docs/propeller.problems.PSB2.camel-case.html index 4255c05..dbdbd1c 100644 --- a/docs/propeller.problems.PSB2.camel-case.html +++ b/docs/propeller.problems.PSB2.camel-case.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.camel-case
CAMEL CASE from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.camel-case
CAMEL CASE from PSB2
Take a string in kebab-case and convert all of the words to camelCase. Each group of words to convert is delimited by “-”, and each grouping is separated by a space. For example: “camel-case example-test-string” → “camelCase exampleTestString”
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.dice-game.html b/docs/propeller.problems.PSB2.dice-game.html index 584dfb6..0b9e629 100644 --- a/docs/propeller.problems.PSB2.dice-game.html +++ b/docs/propeller.problems.PSB2.dice-game.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.dice-game
DICE GAME from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.dice-game
DICE GAME from PSB2
Peter has an n sided die and Colin has an m sided die. If they both roll their dice at the same time, return the probability that Peter rolls strictly higher than Colin.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.fizz-buzz.html b/docs/propeller.problems.PSB2.fizz-buzz.html index a003960..faff6d5 100644 --- a/docs/propeller.problems.PSB2.fizz-buzz.html +++ b/docs/propeller.problems.PSB2.fizz-buzz.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.fizz-buzz
FIZZ BUZZ from PSB2 Given an integer x, return “Fizz” if x is divisible by 3, “Buzz” if x is divisible by 5, “FizzBuzz” if x is divisible by 3 and 5, and a string version of x if none of the above hold.
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.fizz-buzz
FIZZ BUZZ from PSB2 Given an integer x, return “Fizz” if x is divisible by 3, “Buzz” if x is divisible by 5, “FizzBuzz” if x is divisible by 3 and 5, and a string version of x if none of the above hold.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual: Error is 0 if the value and the program’s selected behavior match, or 1 if they differ, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the STRING stack.
diff --git a/docs/propeller.problems.PSB2.fuel-cost.html b/docs/propeller.problems.PSB2.fuel-cost.html index 87f2c43..1fde138 100644 --- a/docs/propeller.problems.PSB2.fuel-cost.html +++ b/docs/propeller.problems.PSB2.fuel-cost.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.fuel-cost
FUEL COST from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.fuel-cost
FUEL COST from PSB2
Given a vector of positive integers, divide each by 3, round the result down to the nearest integer, and subtract 2. Return the sum of all of the new integers in the vector
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.gcd.html b/docs/propeller.problems.PSB2.gcd.html index 1905ca7..e87ceeb 100644 --- a/docs/propeller.problems.PSB2.gcd.html +++ b/docs/propeller.problems.PSB2.gcd.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.gcd
GCD GREATEST COMMON DIVISOR from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.gcd
GCD GREATEST COMMON DIVISOR from PSB2
Given two integers, return the largest integer that divides each of the integers evenly
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.luhn.html b/docs/propeller.problems.PSB2.luhn.html index 8120e58..1dcd25f 100644 --- a/docs/propeller.problems.PSB2.luhn.html +++ b/docs/propeller.problems.PSB2.luhn.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.luhn
LUHN from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.luhn
LUHN from PSB2
Given a vector of 16 digits, implement Luhn’s algorithm to verify a credit card number, such that it follows the following rules: double every other digit starting with the second digit. If any of the results are over 9, subtract 9 from them. Return the sum of all of the new digits.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.middle-character.html b/docs/propeller.problems.PSB2.middle-character.html index f79dca1..5f5e2e7 100644 --- a/docs/propeller.problems.PSB2.middle-character.html +++ b/docs/propeller.problems.PSB2.middle-character.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.middle-character
MIDDLE CHARACTER from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.middle-character
MIDDLE CHARACTER from PSB2
Given a string, return the middle character as a string if it is odd length; return the two middle characters as a string if it is even length.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.paired-digits.html b/docs/propeller.problems.PSB2.paired-digits.html index 2421a98..a8b63b0 100644 --- a/docs/propeller.problems.PSB2.paired-digits.html +++ b/docs/propeller.problems.PSB2.paired-digits.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.paired-digits
PAIRED DIGITS from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.paired-digits
PAIRED DIGITS from PSB2
Given a string of digits, return the sum of the digits whose following digit is the same.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.shopping-list.html b/docs/propeller.problems.PSB2.shopping-list.html index 51cce8c..5c86ec8 100644 --- a/docs/propeller.problems.PSB2.shopping-list.html +++ b/docs/propeller.problems.PSB2.shopping-list.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.shopping-list
SHOPPING LIST from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.shopping-list
SHOPPING LIST from PSB2
Given a vector of floats representing the prices of various shopping goods and another vector of floats representing the percent discount of each of those goods, return the total price of the shopping trip after applying the discount to each item.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.snow-day.html b/docs/propeller.problems.PSB2.snow-day.html index d789b42..090fbd9 100644 --- a/docs/propeller.problems.PSB2.snow-day.html +++ b/docs/propeller.problems.PSB2.snow-day.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.snow-day
SNOW DAY from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.snow-day
SNOW DAY from PSB2
Given an integer representing a number of hours and 3 floats representing how much snow is on the ground, the rate of snow fall, and the proportion of snow melting per hour, return the amount of snow on the ground after the amount of hours given. Each hour is considered a discrete event of adding snow and then melting, not a continuous process.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.solve-boolean.html b/docs/propeller.problems.PSB2.solve-boolean.html index 7aca7f8..1b7c9a8 100644 --- a/docs/propeller.problems.PSB2.solve-boolean.html +++ b/docs/propeller.problems.PSB2.solve-boolean.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.solve-boolean
SOLVE BOOLEAN from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.solve-boolean
SOLVE BOOLEAN from PSB2
Given a string representing a Boolean expression consisting of T, F, |, and &, evaluate it and return the resulting Boolean.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.spin-words.html b/docs/propeller.problems.PSB2.spin-words.html index cd81f3f..da98fae 100644 --- a/docs/propeller.problems.PSB2.spin-words.html +++ b/docs/propeller.problems.PSB2.spin-words.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.spin-words
SPIN WORDS from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.spin-words
SPIN WORDS from PSB2
Given a string of one or more words (separated by spaces), reverse all of the words that are five or more letters long and return the resulting string.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.square-digits.html b/docs/propeller.problems.PSB2.square-digits.html index ca55830..3f7a234 100644 --- a/docs/propeller.problems.PSB2.square-digits.html +++ b/docs/propeller.problems.PSB2.square-digits.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.square-digits
SQUARE DIGITS from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.square-digits
SQUARE DIGITS from PSB2
Given a positive integer, square each digit and concatenate the squares into a returned string.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.substitution-cipher.html b/docs/propeller.problems.PSB2.substitution-cipher.html index c058bba..db4c8bc 100644 --- a/docs/propeller.problems.PSB2.substitution-cipher.html +++ b/docs/propeller.problems.PSB2.substitution-cipher.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.substitution-cipher
SUBSTITUTION CIPHER from PSB2
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.substitution-cipher
SUBSTITUTION CIPHER from PSB2
This problem gives 3 strings. The first two represent a cipher, mapping each character in one string to the one at the same index in the other string. The program must apply this cipher to the third string and return the deciphered message.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
diff --git a/docs/propeller.problems.PSB2.twitter.html b/docs/propeller.problems.PSB2.twitter.html index 02eaedc..7c1b3e4 100644 --- a/docs/propeller.problems.PSB2.twitter.html +++ b/docs/propeller.problems.PSB2.twitter.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.PSB2.twitter
TWITTER from PSB2 Given a string representing a tweet, validate whether the tweet meets Twitter’s original character requirements. If the tweet has more than 140 characters, return the string “Too many characters”. If the tweet is empty, return the string “You didn’t type anything”. Otherwise, return “Your tweet has X characters”, where the X is the number of characters in the tweet.
+Generated by Codox
Propeller 0.3.2
propeller.problems.PSB2.twitter
TWITTER from PSB2 Given a string representing a tweet, validate whether the tweet meets Twitter’s original character requirements. If the tweet has more than 140 characters, return the string “Too many characters”. If the tweet is empty, return the string “You didn’t type anything”. Otherwise, return “Your tweet has X characters”, where the X is the number of characters in the tweet.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual: Error is 0 if the value and the program’s selected behavior match, or 1 if they differ, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the STRING stack.
diff --git a/docs/propeller.problems.complex-regression.html b/docs/propeller.problems.complex-regression.html index bf9ef3c..eae0a38 100644 --- a/docs/propeller.problems.complex-regression.html +++ b/docs/propeller.problems.complex-regression.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.complex-regression
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.complex-regression
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual. The error is the absolute deviation between the target output value and the program’s selected behavior, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the FLOAT stack.
instructions
FIXME: write docs
diff --git a/docs/propeller.problems.float-regression.html b/docs/propeller.problems.float-regression.html index b8e23fe..7d5b2e0 100644 --- a/docs/propeller.problems.float-regression.html +++ b/docs/propeller.problems.float-regression.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.float-regression
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.float-regression
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual. The error is the absolute deviation between the target output value and the program’s selected behavior, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the FLOAT stack.
instructions
FIXME: write docs
diff --git a/docs/propeller.problems.integer-regression.html b/docs/propeller.problems.integer-regression.html index 20ac58a..87a0886 100644 --- a/docs/propeller.problems.integer-regression.html +++ b/docs/propeller.problems.integer-regression.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.integer-regression
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.integer-regression
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual. The error is the absolute deviation between the target output value and the program’s selected behavior, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the INTEGER stack.
instructions
FIXME: write docs
diff --git a/docs/propeller.problems.simple-classification.html b/docs/propeller.problems.simple-classification.html index 1421b57..d9ba847 100644 --- a/docs/propeller.problems.simple-classification.html +++ b/docs/propeller.problems.simple-classification.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.simple-classification
FIXME: write docs
+Generated by Codox
Propeller 0.3.2
propeller.problems.simple-classification
FIXME: write docs
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual: Error is 0 if the value and the program’s selected behavior match, or 1 if they differ, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the BOOLEAN stack.
instructions
FIXME: write docs
diff --git a/docs/propeller.problems.simple-regression.html b/docs/propeller.problems.simple-regression.html index e9831e2..6d4f391 100644 --- a/docs/propeller.problems.simple-regression.html +++ b/docs/propeller.problems.simple-regression.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.simple-regression
Simple Regression:
+Generated by Codox
Propeller 0.3.2
propeller.problems.simple-regression
Simple Regression:
Given inputs and outputs, find the target function.
-main
(-main & args)
Runs the top-level genetic programming function, giving it a map of arguments with defaults that can be overridden from the command line or through a passed map.
error-function
(error-function argmap data individual)
Finds the behaviors and errors of an individual. The error is the absolute deviation between the target output value and the program’s selected behavior, or 1000000 if no behavior is produced. The behavior is here defined as the final top item on the INTEGER stack.
diff --git a/docs/propeller.problems.software.number-io.html b/docs/propeller.problems.software.number-io.html index 0d364e7..ce6c486 100644 --- a/docs/propeller.problems.software.number-io.html +++ b/docs/propeller.problems.software.number-io.html @@ -1,6 +1,6 @@ -Generated by Codox
Propeller 0.3.1
propeller.problems.software.number-io
Number IO from iJava (http://ijava.cs.umass.edu/)
+Generated by Codox
Propeller 0.3.2
propeller.problems.software.number-io
Number IO from iJava (http://ijava.cs.umass.edu/)
This problem file defines the following problem:
There are two inputs, a float and an int. The program must read them in, find their sum as a float, and print the result as a float.
diff --git a/docs/propeller.problems.software.smallest.html b/docs/propeller.problems.software.smallest.html index c3f7214..e60f900 100644 --- a/docs/propeller.problems.software.smallest.html +++ b/docs/propeller.problems.software.smallest.html @@ -1,6 +1,6 @@ -