support

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2016 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATENULL = -1 // Null state
	STATE0    = 0  // State 0
	STATE1    = 1  // State 1
	STATE01   = 2  // State 0/1
)

Variables

This section is empty.

Functions

func Classical

func Classical(reftreefile, boottreefile string, cpus int) *tree.Tree

func ComputeSupport

func ComputeSupport(reftreefile, boottreefile string, empirical bool, cpus int, supporter Supporter) *tree.Tree

func MastLike

func MastLike(reftreefile, boottreefile string, empirical bool, cpus int) *tree.Tree

func Parsimony

func Parsimony(reftreefile, boottreefile string, empirical bool, cpus int) *tree.Tree

Types

type Supporter

type Supporter interface {
	Init(maxdepth int, nbtips int)
	ExpectedRandValues(depth int) float64
	ProbaDepthValue(d int, v int) float64
	ComputeValue(refTree *tree.Tree, empiricalTrees []*tree.Tree, cpu int, empirical bool, edges []*tree.Edge, randEdges [][]*tree.Edge,
		wg *sync.WaitGroup, bootTreeChannel <-chan tree.Trees, valChan chan<- bootval, randvalChan chan<- bootval)
}

Jump to

Keyboard shortcuts

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