Documentation ¶
Index ¶
- func Exists(path string) bool
- func HasArg(name string) bool
- func HasSocket(pid int) (bool, error)
- type Processes
- func (p *Processes) LaunchHeadless(argv []string, logfile string, cwd string) (pid int)
- func (p *Processes) LaunchInTerminal(argv []string, title string, cwd string) (pid int)
- func (p *Processes) Signal(signal os.Signal)
- func (p *Processes) WaitAll()
- func (p *Processes) WaitAllTimeout(timeout time.Duration) (timedout bool)
- func (p *Processes) WaitAnyCh() <-chan void
- type ViterbiState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Processes ¶
type Processes struct { Verbose bool // contains filtered or unexported fields }
func MakeProcesses ¶
func (*Processes) LaunchHeadless ¶
func (*Processes) LaunchInTerminal ¶
func (*Processes) WaitAllTimeout ¶
type ViterbiState ¶
type ViterbiState struct { // variable Backtrack [][]uint // at each time step, the most likely prior state Likelihoods []float64 // constant Debug bool NumHiddenStates uint StateTransitions [][]float64 ObservationLikelihoodFn func(interface{}) []float64 }
func (*ViterbiState) ExtractPath ¶
func (v *ViterbiState) ExtractPath() []uint
func (*ViterbiState) NextPeriod ¶
func (v *ViterbiState) NextPeriod(observation interface{}, debug interface{})
Click to show internal directories.
Click to hide internal directories.