Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
e87c5451
Commit
e87c5451
authored
Nov 25, 2019
by
VIGNET Pierre
Browse files
[lib] MCLSolutions: Fix doc; add module doc
parent
19e69b7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/cadbiom/models/clause_constraints/mcl/MCLSolutions.py
View file @
e87c5451
...
...
@@ -39,8 +39,19 @@
##
## Contributor(s): Geoffroy Andrieux - IRISA/IRSET
##
"""
Various solution representations
"""Classes used to store solver answers.
RawSolution:
Contain a solution got from SAT solver with all variable parameters
from the unfolder.
DimacsFrontierSol:
A numerical representation of *frontier values and timings* from a raw solution.
FrontierSolution:
Provides is a wrapper for a symbolic
representation (human readable) of activated frontiers defined in
RawSolution and DimacsFrontierSol objects.
"""
# Standard imports
from
__future__
import
print_function
...
...
@@ -406,11 +417,11 @@ class RawSolution(object):
class
FrontierSolution
(
object
):
"""Class for symbolic frontier and timings representation
(built from a raw solution)
"""Class for symbolic
(human readable)
frontier
s
and timings representation
The class FrontierSolution provides
objects wrapping
a symbolic
representation (human readable) of activated frontiers
for RawSolution and
DimacsFrontierSol objects.
The class FrontierSolution provides
is a wrapper for
a symbolic
representation (human readable) of activated frontiers
defined in
RawSolution and
DimacsFrontierSol objects.
Attributes:
- The main attributes are activated_frontier which is a set of
...
...
@@ -612,7 +623,7 @@ class FrontierSolution(object):
class
DimacsFrontierSol
(
object
):
"""Class for solution frontier and timings representation
DimacsFrontierSol is a numeric representation of *frontier values and timings*
DimacsFrontierSol is a numeric
al
representation of *frontier values and timings*
from a raw solution.
Attributes:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment