configuration

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package configuration provides the interface for configuration types in LogicNG.

Many algorithms in LogicNG can be configured with a special configuration type - all of them implement Config and hold a configuration sort.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	Sort() Sort            // returns the sort of the configuration
	DefaultConfig() Config // creates the default configuration for the sort
}

Config is an abstraction over all LogicNG configuration structs.

type Sort

type Sort byte

Sort describes the different sorts for configurations.

const (
	FormulaFactory Sort = iota
	CNF
	Sat
	MaxSat
	Encoder
	FormulaRandomizer
	AdvancedSimplifier
	ModelIteration
)

func (Sort) String

func (i Sort) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL