Skip to content

Commit

Permalink
improve compatibility with mpbn
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Aug 29, 2023
1 parent 3136e2c commit 249a793
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bonesis/asp_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def encode_domain_BooleanNetworksEnsemble(self, bns):

def encode_domain_BooleanNetwork(self, bn):
self.ba = bn.ba
return [bn.asp_of_bn() + "\n" +
return [bn.asp_of_bn(encoding="dnf-bdd") + "\n" +
str(asp.Function("nbnode", symbols(len(bn))))]

def encode_domain_InfluenceGraph(self, pkn):
Expand Down
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ requirements:
- boolean.py
- clingo >=5.5
- colomoto_jupyter
- mpbn >=1.7
- mpbn >=3.3
- networkx
- numpy
- pandas
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"boolean.py",
"clingo>=5.5",
"colomoto_jupyter",
"mpbn>=1.7",
"mpbn>=3.3",
"networkx",
"numpy",
"pandas",
Expand Down

0 comments on commit 249a793

Please sign in to comment.