mathNodes

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2018 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Overview

Package mathNodes defines the floating-point function collection available for the GEP algorithm.

Index

Constants

This section is empty.

Variables

View Source
var Math = functions.FuncMap{}/* 279 elements not displayed */

Math lists all the available floating-point functions for this package.

Functions

This section is empty.

Types

type MathNode

type MathNode struct {
	// contains filtered or unexported fields
}

MathNode is a floating-point function used for the formation of GEP expressions.

func (MathNode) BoolFunction

func (n MathNode) BoolFunction(a, b, c, d bool) bool

BoolFunction is unused in this package and returns an error.

func (MathNode) Float64Function

func (n MathNode) Float64Function(a, b, c, d float64) float64

Float64Function calls the floating-point function and returns the result.

func (MathNode) Symbol

func (n MathNode) Symbol() string

Symbol returns the Karva symbol for this floating-point function.

func (MathNode) Terminals

func (n MathNode) Terminals() int

Terminals returns the number of input terminals for this floating-point function.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL