flamapy-fw 2.0.0.dev6__tar.gz → 2.0.0.dev7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/PKG-INFO +1 -1
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/models/ast.py +6 -2
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy_fw.egg-info/PKG-INFO +1 -1
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/setup.py +1 -1
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/README.md +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/__init__.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/config.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/discover.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/exceptions.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/models/__init__.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/models/variability_model.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/__init__.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/abstract_operation.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/atomic_sets.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/average_branching_factor.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/commonality.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/configurations.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/configurations_number.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/core_features.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/count_leafs.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/dead_features.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/error_detection.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/error_diagnosis.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/estimated_configurations_number.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/false_optional_features.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/filter.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/metrics_operation.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/sampling.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/satisfiable.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/satisfiable_configuration.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/variability.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/plugins.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/__init__.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/abstract_transformation.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/model_to_model.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/model_to_text.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/text_to_model.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/utils.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/metamodels/configuration_metamodel/__init__.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/metamodels/configuration_metamodel/models/__init__.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/metamodels/configuration_metamodel/models/configuration.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/metamodels/configuration_metamodel/transformations/__init__.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/metamodels/configuration_metamodel/transformations/configuration_basic_reader.py +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy_fw.egg-info/SOURCES.txt +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy_fw.egg-info/dependency_links.txt +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy_fw.egg-info/entry_points.txt +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy_fw.egg-info/requires.txt +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy_fw.egg-info/top_level.txt +0 -0
- {flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: flamapy-fw
|
|
3
|
-
Version: 2.0.0.
|
|
3
|
+
Version: 2.0.0.dev7
|
|
4
4
|
Summary: Flamapy is a Python-based AAFM framework that takes into consideration previous AAFM tool designs and enables multi-solver and multi-metamodel support for the integration of AAFM tooling on the Python ecosystem.
|
|
5
5
|
Home-page: https://github.com/flamapy/core
|
|
6
6
|
Author: Flamapy
|
|
@@ -56,7 +56,7 @@ class Node:
|
|
|
56
56
|
return not self.is_unique_term() and not self.is_unary_op()
|
|
57
57
|
|
|
58
58
|
def __str__(self) -> str:
|
|
59
|
-
data = self.data.value if self.is_op() else self.data
|
|
59
|
+
data = self.data.value if self.is_op() else safename(str(self.data))
|
|
60
60
|
if self.left and self.right:
|
|
61
61
|
return f'{data}[{self.left}][{self.right}]'
|
|
62
62
|
if self.left and not self.right:
|
|
@@ -77,7 +77,7 @@ class Node:
|
|
|
77
77
|
return res
|
|
78
78
|
|
|
79
79
|
def pretty_str(self) -> str:
|
|
80
|
-
data = self.data.value if self.is_op() else self.data
|
|
80
|
+
data = self.data.value if self.is_op() else safename(str(self.data))
|
|
81
81
|
left = Node._get_pretty_str_node(self.left) if self.left is not None else ''
|
|
82
82
|
right = Node._get_pretty_str_node(self.right) if self.right is not None else ''
|
|
83
83
|
|
|
@@ -302,3 +302,7 @@ def get_clause_from_or_node(node: Node) -> list[Any]:
|
|
|
302
302
|
term = node.right.data if node.right.is_term() else f'-{node.right.left.data}'
|
|
303
303
|
clause.append(term)
|
|
304
304
|
return clause
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
def safename(name: str) -> str:
|
|
308
|
+
return f'"{name}"' if ' ' in name else name
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: flamapy-fw
|
|
3
|
-
Version: 2.0.0.
|
|
3
|
+
Version: 2.0.0.dev7
|
|
4
4
|
Summary: Flamapy is a Python-based AAFM framework that takes into consideration previous AAFM tool designs and enables multi-solver and multi-metamodel support for the integration of AAFM tooling on the Python ecosystem.
|
|
5
5
|
Home-page: https://github.com/flamapy/core
|
|
6
6
|
Author: Flamapy
|
|
@@ -13,7 +13,7 @@ dev_requirements = read_requirements("requirements-dev.txt")
|
|
|
13
13
|
|
|
14
14
|
setuptools.setup(
|
|
15
15
|
name="flamapy-fw",
|
|
16
|
-
version="2.0.0.
|
|
16
|
+
version="2.0.0.dev7",
|
|
17
17
|
author="Flamapy",
|
|
18
18
|
author_email="flamapy@us.es",
|
|
19
19
|
description="Flamapy is a Python-based AAFM framework that takes into consideration previous AAFM tool designs and enables multi-solver and multi-metamodel support for the integration of AAFM tooling on the Python ecosystem.",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/abstract_operation.py
RENAMED
|
File without changes
|
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/average_branching_factor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/configurations_number.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/false_optional_features.py
RENAMED
|
File without changes
|
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/metrics_operation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/operations/satisfiable_configuration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/model_to_model.py
RENAMED
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/model_to_text.py
RENAMED
|
File without changes
|
{flamapy-fw-2.0.0.dev6 → flamapy-fw-2.0.0.dev7}/flamapy/core/transformations/text_to_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|