type Status int
type Literal int32
type Clause []Literal
type Formula []Clause
type Solution []bool
Maybe Literal should be int. PicoSAT's literals are C.int. We just don't want unsafe.Sizeof(Literal) > unsafe.Sizeof(C.int). This could be tested in the unit tests.
Something like
Maybe
Literal
should beint
. PicoSAT's literals areC.int
. We just don't wantunsafe.Sizeof(Literal) > unsafe.Sizeof(C.int)
. This could be tested in the unit tests.