HerbSpecification.jl Documentation

HerbSpecification.IOExampleType
struct IOExample

An input-output example. in is a Dict of {Symbol,Any} where the symbol represents a variable in a program. out can be anything.

source
HerbSpecification.MetricProblemType
struct MetricProblem{T <: Vector{IOExample}}

Program synthesis problem defined by an specification and a metric. The specification has to be based on input/output examples, while the function needs to return a numerical value.

source
HerbSpecification.ProblemType
struct Problem

Program synthesis problem defined by an AbstractSpecifications. Has a name and a specification of type T.

Warning

Please care that concrete Problem types with different values of T are never subtypes of each other.

source
Base.getindexMethod
Base.getindex(p::Problem{Vector{IOExample}}, indices)

Overwrite Base.getindex to allow for slicing of input/output-based problems.

source

Index