Documentation
¶
Index ¶
- Constants
- Variables
- func ParseEvidence(evidence []string) (map[string]string, error)
- func Solve(network *bbn.Network, evidence map[string]string, nodes []Node, ...) (map[string][]float64, error)
- func TrainNetwork(net *bbn.Network, nodes []bbn.Variable, dataFile, noData string, ...) (*bbn.Network, error)
- type App
- type Bounds
- type Color
- type Node
- type Table
Constants ¶
View Source
const ( Empty = ' ' Shade = '░' Full = '█' SelectionStart = '[' SelectionEnd = ']' EvidenceStart = '+' EvidenceEnd = '+' ArrowUp = '^' ArrowDown = 'v' ArrowLeft = '<' ArrowRight = '>' )
Variables ¶
View Source
var ( BorderH = []rune{'─', '═'} BorderV = []rune{'│', '║'} BorderNE = []rune{'┐', '╗'} BorderNW = []rune{'┌', '╔'} BorderSE = []rune{'┘', '╝'} BorderSW = []rune{'└', '╚'} )
View Source
var ColorNames = []string{
"black",
"maroon",
"green",
"olive",
"navy",
"purple",
"teal",
"silver",
"gray",
"red",
"lime",
"yellow",
"blue",
"fuchsia",
"aqua",
"white",
}
View Source
var ColorTags = []string{
"[black]",
"[maroon]",
"[green]",
"[olive]",
"[navy]",
"[purple]",
"[teal]",
"[silver]",
"[gray]",
"[red]",
"[lime]",
"[yellow]",
"[blue]",
"[fuchsia]",
"[aqua]",
"[-]",
}
View Source
var NamedColors = map[string]Color{ "black": Black, "maroon": Maroon, "green": Green, "olive": Olive, "navy": Navy, "purple": Purple, "teal": Teal, "silver": Silver, "gray": Gray, "red": Red, "lime": Lime, "yellow": Yellow, "blue": Blue, "fuchsia": Fuchsia, "aqua": Aqua, "white": White, }
View Source
var Partial = []rune{
'▏', '▎', '▍', '▌', '▋', '▊', '▉',
}
Functions ¶
Types ¶
type Node ¶
type Table ¶
type Table struct { tview.TableContentReadOnly // contains filtered or unexported fields }
func (*Table) GetColumnCount ¶
func (*Table) GetRowCount ¶
Click to show internal directories.
Click to hide internal directories.