mirror of
https://github.com/mudler/luet.git
synced 2025-09-12 21:33:31 +00:00
update vendor/
This commit is contained in:
8
vendor/github.com/crillab/gophersat/bf/bf.go
generated
vendored
8
vendor/github.com/crillab/gophersat/bf/bf.go
generated
vendored
@@ -72,8 +72,8 @@ type trueConst struct{}
|
||||
// True is the constant denoting a tautology.
|
||||
var True Formula = trueConst{}
|
||||
|
||||
func (t trueConst) nnf() Formula { return t }
|
||||
func (t trueConst) String() string { return "⊤" }
|
||||
func (t trueConst) nnf() Formula { return t }
|
||||
func (t trueConst) String() string { return "⊤" }
|
||||
func (t trueConst) Eval(model map[string]bool) bool { return true }
|
||||
|
||||
// The "false" constant.
|
||||
@@ -82,8 +82,8 @@ type falseConst struct{}
|
||||
// False is the constant denoting a contradiction.
|
||||
var False Formula = falseConst{}
|
||||
|
||||
func (f falseConst) nnf() Formula { return f }
|
||||
func (f falseConst) String() string { return "⊥" }
|
||||
func (f falseConst) nnf() Formula { return f }
|
||||
func (f falseConst) String() string { return "⊥" }
|
||||
func (f falseConst) Eval(model map[string]bool) bool { return false }
|
||||
|
||||
// Var generates a named boolean variable in a formula.
|
||||
|
Reference in New Issue
Block a user