Documentation ¶
Index ¶
Constants ¶
View Source
const ( NumInput = 1 << NumVar NumFunc = 1 << NumInput )
Derived constants.
View Source
const EOF = 57349
View Source
const LANDAND = 57351
View Source
const LANDNOT = 57357
View Source
const LGE = 57354
View Source
const LIN = 57348
View Source
const LLE = 57353
View Source
const LLSH = 57355
View Source
const LNE = 57352
View Source
const LNUM = 57346
View Source
const LOROR = 57350
View Source
const LRSH = 57356
View Source
const LVAR = 57347
View Source
const NumVar = 5
Change to compute different answer.
Variables ¶
View Source
var V = literal(0)
View Source
var W = literal(1)
View Source
var X = literal(2)
View Source
var Y = literal(3)
View Source
var Z = literal(4)
Functions ¶
This section is empty.
Types ¶
type Func ¶
type Func uint32
A Func represents a single boolean function. It specifies only the outputs for each input, not a way to compute it.
type Record ¶
type Record struct {
F, P, Q Func
}
A Record records the Boolean function and its parents for computing it.
type ResultData ¶
Click to show internal directories.
Click to hide internal directories.