pub enum RecurFunctionType {
Zero,
Successor,
Projection(u32, u32),
Composition(Box<RecurFunction>, Vec<RecurFunction>),
Primitive(Box<RecurFunction>, Box<RecurFunction>),
Minimization(Box<RecurFunction>, u32),
}Expand description
Types of recursive functions.
Variants§
Zero
zero function.
Successor
succesor function.
Projection(u32, u32)
projection function with arguments count and argument number.
Composition(Box<RecurFunction>, Vec<RecurFunction>)
composition function with base function and functions to use.
Primitive(Box<RecurFunction>, Box<RecurFunction>)
primitive function with base function and step function.
Minimization(Box<RecurFunction>, u32)
minimization function with base function and max tries.
Trait Implementations§
Source§impl Clone for RecurFunctionType
impl Clone for RecurFunctionType
Source§fn clone(&self) -> RecurFunctionType
fn clone(&self) -> RecurFunctionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecurFunctionType
impl Debug for RecurFunctionType
Source§impl PartialEq for RecurFunctionType
impl PartialEq for RecurFunctionType
impl StructuralPartialEq for RecurFunctionType
Auto Trait Implementations§
impl Freeze for RecurFunctionType
impl RefUnwindSafe for RecurFunctionType
impl Send for RecurFunctionType
impl Sync for RecurFunctionType
impl Unpin for RecurFunctionType
impl UnwindSafe for RecurFunctionType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more