Constraint 類別

建構函式

Constraint(id, encoding, arity, error_rate)

參數

名稱 Description
id
必要
encoding
必要
arity
必要
error_rate
必要

方法

add_property
has_property

add_property

add_property(property)

參數

名稱 Description
property
必要

has_property

has_property(property)

參數

名稱 Description
property
必要

屬性

arity

encoding

error_rate

id