Documentation
¶
Index ¶
- func MakeDemes(demeCount int, members []pop.Individual, s []pop.SMethod, pair []pop.PMethod, ...) pop.DemeGroup
- func MatrixMultiply(a []float64, b []float64) []float64
- func PowSum(max, pow float64) float64
- func ReverseList(lst []float64) []float64
- func RunDemeGroup(dg pop.DemeGroup, numGens int) pop.Individual
- func RunSingleSuite(s TestSuite, writer *csv.Writer)
- func RunSuite(testCases []TestCase, demeCount, popSize, testGenerations int, ...)
- func RunTestSuites(suites []TestSuite)
- func Seed()
- func SilentRunDemeGroup(dg pop.DemeGroup, numGens int) pop.Individual
- func SuiteWriter() *csv.Writer
- type SuiteFunc
- type SuiteInitFunc
- type TestCase
- type TestSuite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatrixMultiply ¶
matrices are assumed to be square
func ReverseList ¶
func RunDemeGroup ¶
func RunDemeGroup(dg pop.DemeGroup, numGens int) pop.Individual
func RunSingleSuite ¶
func RunTestSuites ¶
func RunTestSuites(suites []TestSuite)
func SilentRunDemeGroup ¶
func SilentRunDemeGroup(dg pop.DemeGroup, numGens int) pop.Individual
func SuiteWriter ¶
Types ¶
type SuiteFunc ¶
type SuiteFunc func(interface{}, int) []pop.Individual
type SuiteInitFunc ¶
type SuiteInitFunc func(interface{})
type TestCase ¶
type TestCase struct {
// contains filtered or unexported fields
}
func MultiplyMatrixTestCase ¶
func MultiplyMatrixTestCase() TestCase
func Pow8TestCase ¶
func Pow8TestCase() TestCase
func PowSumTestCase ¶
func PowSumTestCase() TestCase
func ReverseListTestCase ¶
func ReverseListTestCase() TestCase
func SortListTestCase ¶
func SortListTestCase() TestCase
func TransposeMatrixTestCase ¶
func TransposeMatrixTestCase() TestCase
Click to show internal directories.
Click to hide internal directories.