We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2822e2b commit 65d8936Copy full SHA for 65d8936
src/causalprog/graph/causal_problem.py
@@ -15,6 +15,11 @@ class CausalProblem(Graph):
15
_sigma: Callable[..., float]
16
_constraints: Callable[..., float]
17
18
+ @property
19
+ def parameter_values(self) -> tuple[float, ...]:
20
+ """Returns the current parameter values stored for the Causal Problem."""
21
+ return tuple(node.current_value for node in self.parameter_nodes)
22
+
23
def __init__(self, label: str) -> None:
24
"""Set up a new CausalProblem."""
25
super().__init__(label)
0 commit comments