You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposes a list of programs using the location provided by `neighbourhood` and the `dict`.
propose(iter::T, current_program::RuleNode, neighbourhood_node_loc::NodeLoc, dmap::AbstractVector{Int}, dict::Union{Nothing,Dict{String,Any}}) where T <:StochasticSearchIterator-> Iter[RuleNode]
----
Based on the current program and possible cost and temperature it accepts the program or not. Usually we would always want to accept
better programs but we might get stuck if we do so. That is why some implementations of the `accept`function accept with a probability
costs that are worse.
`cost` means how different are the outcomes of the program compared to the correct outcomes.
The lower the `cost` the better the program performs on the examples. The `cost` is provided by the `cost_function`accept(::T, current_cost::Real, next_cost::Real, temperature::Real) where T <:StochasticSearchIterator-> Bool
----
Returns the new temperature based on the previous temperature. Higher the `temperature` means that the algorithm will explore more.
temperature(::T, current_temperature::Real) where T <:StochasticSearchIterator-> Real
---
Returns the cost of the current program. It receives a list of tuples `(expected, found)` and gives back a cost.
cost_function(outcomes::Tuple{<:Number,<:Number}[]) -> Real
----# Fields
This function signatures no longer match the actual implementation
The text was updated successfully, but these errors were encountered:
This function signatures no longer match the actual implementation
The text was updated successfully, but these errors were encountered: