## Generated by Codox

# Propeller 0.3.0

# propeller.problems.PSB2.substitution-cipher

=========== PROBLEM DESCRIPTION ========================= 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.

# Source: https://arxiv.org/pdf/2106.06086.pdf

### -main

`(-main & args)`

Runs propel-gp, giving it a map of arguments.

### 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.

### instructions

stack-specific instructions, input instructions, close, and constants

### map-vals-input

`(map-vals-input i)`

Returns all the input values of a map

### map-vals-output

`(map-vals-output i)`

Returns the output values of a map

### train-and-test-data