pysmile.Network

<< Click to Display Table of Contents >>

Navigation:  PySMILE reference >

pysmile.Network

add_arc(self: pysmile.Network, parent_handle: int, child_handle: int) -> None
add_arc(self: pysmile.Network, parent_id: str, child_id: str) -> None

Adds a directed arc between two nodes

add_case(self: pysmile.Network, case_name: str) -> int

Adds a new case to the network

add_cost_arc(self: pysmile.Network, parent_handle: int, child_handle: int) -> None
add_cost_arc(self: pysmile.Network, parent_id: str, child_id: str) -> None

Adds a cost arc between two nodes

add_node(self: pysmile.Network, node_type: pysmile.NodeType, node_id: str) -> int
add_node(self: pysmile.Network, node_type: pysmile.NodeType) -> int
add_node(self: pysmile.Network) -> int

Adds a node to the network

add_outcome(self: pysmile.Network, node_handle: int, outcome_id: str) -> None
add_outcome(self: pysmile.Network, node_id: str, outcome_id: str) -> None

Adds an outcome to a node

add_submodel(self: pysmile.Network, parent_handle: int, id: str) -> int
add_submodel(self: pysmile.Network, parent_id: str, id: str) -> int

Adds a submodel to the network

add_temporal_arc(self: pysmile.Network, parent_handle: int, child_handle: int, order: int) -> None
add_temporal_arc(self: pysmile.Network, parent_id: str, child_id: str, order: int) -> None

Adds a temporal arc

annealed_map(self: pysmile.Network, map_nodes: List[int], tuning: pysmile.AnnealedMapTuning) -> pysmile.AnnealedMapResults
annealed_map(self: pysmile.Network, map_nodes: List[str], tuning: pysmile.AnnealedMapTuning) -> pysmile.AnnealedMapResults
annealed_map(self: pysmile.Network, map_nodes: List[int]) -> pysmile.AnnealedMapResults
annealed_map(self: pysmile.Network, map_nodes: List[str]) -> pysmile.AnnealedMapResults

Performs MAP inference using simulated annealing

apply_case_to_network(self: pysmile.Network, case_index: int) -> None
apply_case_to_network(self: pysmile.Network, case_name: str) -> None

Applies case evidence to the current network state

calc_sensitivity(self: pysmile.Network) -> pysmile.SensitivityResults

Performs sensitivity analysis for a node

clear_all_evidence(self: pysmile.Network) -> None

Clears all evidence in the network

clear_all_targets(self: pysmile.Network) -> None

Clears all target flags in the network

clear_controlled_value(self: pysmile.Network, node_handle: int) -> None
clear_controlled_value(self: pysmile.Network, node_id: str) -> None

Clears a node controlled value

clear_evidence(self: pysmile.Network, node_handle: int) -> None
clear_evidence(self: pysmile.Network, node_id: str) -> None

Clears evidence from a node

clear_temporal_evidence(self: pysmile.Network, node_handle: int, slice: int) -> None
clear_temporal_evidence(self: pysmile.Network, node_id: str, slice: int) -> None

Clears temporal evidence in a node

delete_all_cases(self: pysmile.Network) -> None

Deletes all stored cases

delete_arc(self: pysmile.Network, parent_handle: int, child_handle: int) -> None
delete_arc(self: pysmile.Network, parent_id: str, child_id: str) -> None

Removes an arc between two nodes

delete_case(self: pysmile.Network, case_index: int) -> None
delete_case(self: pysmile.Network, case_name: str) -> None

Deletes a case

delete_case_evidence(self: pysmile.Network, case_index: int, node_handle: int) -> None
delete_case_evidence(self: pysmile.Network, case_index: int, node_id: str) -> None
delete_case_evidence(self: pysmile.Network, case_name: str, node_handle: int) -> None
delete_case_evidence(self: pysmile.Network, case_name: str, node_id: str) -> None

Deletes all evidence for a case

delete_cost_arc(self: pysmile.Network, parent_handle: int, child_handle: int) -> None
delete_cost_arc(self: pysmile.Network, parent_id: str, child_id: str) -> None

Removes a cost arc between nodes

delete_node(self: pysmile.Network, node_handle: int) -> None
delete_node(self: pysmile.Network, node_id: str) -> None

Deletes a node

delete_outcome(self: pysmile.Network, node_handle: int, outcome_id: str) -> None
delete_outcome(self: pysmile.Network, node_id: str, outcome_id: str) -> None
delete_outcome(self: pysmile.Network, node_handle: int, outcome_index: int) -> None
delete_outcome(self: pysmile.Network, node_id: str, outcome_index: int) -> None

Deletes an outcome from a node

delete_submodel(self: pysmile.Network, handle: int) -> None
delete_submodel(self: pysmile.Network, id: str) -> None

Deletes a submodel

delete_temporal_arc(self: pysmile.Network, parent_handle: int, child_handle: int, order: int) -> None
delete_temporal_arc(self: pysmile.Network, parent_id: str, child_id: str, order: int) -> None

Deletes a temporal arc

distributed_helper_em(self: pysmile.Network) -> List[float]

Creates distributed EM helper

enable_case_sync(self: pysmile.Network, enable: bool) -> None

Enables or disables case-to-network synchronization

find_case(self: pysmile.Network, case_name: str) -> int

Finds the index of a case by name

get_all_case_names(self: pysmile.Network) -> List[str]

Returns a list of all case names

get_all_node_ids(self: pysmile.Network) -> List[str]

Returns IDs of all nodes

get_all_nodes(self: pysmile.Network) -> List[int]

Returns handles to all nodes

get_bayesian_algorithm(self: pysmile.Network) -> pysmile.BayesianAlgorithmType

Returns the Bayesian algorithm used

get_case_category(self: pysmile.Network, case_index: int) -> str
get_case_category(self: pysmile.Network, case_name: str) -> str

Returns the category of a case

get_case_count(self: pysmile.Network) -> int

Returns the total number of cases in the network

get_case_created(self: pysmile.Network, case_index: int) -> int
get_case_created(self: pysmile.Network, case_name: str) -> int

Returns the creation timestamp of a case

get_case_description(self: pysmile.Network, case_index: int) -> str
get_case_description(self: pysmile.Network, case_name: str) -> str

Returns the description of a case

get_case_evidence(self: pysmile.Network, case_index: int, node_handle: int) -> pysmile.CaseEvidenceInfo
get_case_evidence(self: pysmile.Network, case_index: int, node_id: str) -> pysmile.CaseEvidenceInfo
get_case_evidence(self: pysmile.Network, case_name: str, node_handle: int) -> pysmile.CaseEvidenceInfo
get_case_evidence(self: pysmile.Network, case_name: str, node_id: str) -> pysmile.CaseEvidenceInfo

Gets evidence from a case

get_case_evidence_count(self: pysmile.Network, case_index: int) -> int
get_case_evidence_count(self: pysmile.Network, case_name: str) -> int

Returns the number of evidence entries in a case

get_case_evidence_node_ids(self: pysmile.Network, case_index: int) -> List[str]
get_case_evidence_node_ids(self: pysmile.Network, case_name: str) -> List[str]

Returns IDs of nodes with evidence in a case

get_case_evidence_nodes(self: pysmile.Network, case_index: int) -> List[int]
get_case_evidence_nodes(self: pysmile.Network, case_name: str) -> List[int]

Returns handles of nodes with evidence in a case

get_case_last_modified(self: pysmile.Network, case_index: int) -> int
get_case_last_modified(self: pysmile.Network, case_name: str) -> int

Returns the last modified timestamp of a case

get_case_target_count(self: pysmile.Network, case_index: int) -> int
get_case_target_count(self: pysmile.Network, case_name: str) -> int

Returns the number of target nodes in a case

get_case_target_ids(self: pysmile.Network, case_index: int) -> List[str]
get_case_target_ids(self: pysmile.Network, case_name: str) -> List[str]

Returns the IDs of target nodes in a case

get_case_targets(self: pysmile.Network, case_index: int) -> List[int]
get_case_targets(self: pysmile.Network, case_name: str) -> List[int]

Returns handles of target nodes in a case

get_case_temporal_evidence(self: pysmile.Network, case_index: int, node_handle: int) -> List[pysmile.CaseEvidenceInfo]
get_case_temporal_evidence(self: pysmile.Network, case_index: int, node_id: str) -> List[pysmile.CaseEvidenceInfo]
get_case_temporal_evidence(self: pysmile.Network, case_name: str, node_handle: int) -> List[pysmile.CaseEvidenceInfo]
get_case_temporal_evidence(self: pysmile.Network, case_name: str, node_id: str) -> List[pysmile.CaseEvidenceInfo]

Gets temporal evidence from a case

get_child_ids(self: pysmile.Network, node_handle: int) -> List[str]
get_child_ids(self: pysmile.Network, node_id: str) -> List[str]

Returns child node IDs

get_children(self: pysmile.Network, node_handle: int) -> List[int]
get_children(self: pysmile.Network, node_id: str) -> List[int]

Returns child node handles

get_cont_evidence(self: pysmile.Network, node_handle: int) -> float
get_cont_evidence(self: pysmile.Network, node_id: str) -> float

Returns continuous evidence for a node

get_controlled_value(self: pysmile.Network, node_handle: int) -> int
get_controlled_value(self: pysmile.Network, node_id: str) -> int

Returns controlled value of a node

get_controlled_value_id(self: pysmile.Network, node_handle: int) -> str
get_controlled_value_id(self: pysmile.Network, node_id: str) -> str

Returns ID of the controlled value

get_cost_child_ids(self: pysmile.Network, node_handle: int) -> List[str]
get_cost_child_ids(self: pysmile.Network, node_id: str) -> List[str]

Returns child node IDs in cost arcs

get_cost_children(self: pysmile.Network, node_handle: int) -> List[int]
get_cost_children(self: pysmile.Network, node_id: str) -> List[int]

Returns child node handles in cost arcs

get_cost_parent_ids(self: pysmile.Network, node_handle: int) -> List[str]
get_cost_parent_ids(self: pysmile.Network, node_id: str) -> List[str]

Returns parent node IDs in cost arcs

get_cost_parents(self: pysmile.Network, node_handle: int) -> List[int]
get_cost_parents(self: pysmile.Network, node_id: str) -> List[int]

Returns parent node handles in cost arcs

get_de_morgan_parent_type(self: pysmile.Network, node_handle: int, parent_index: int) -> pysmile.DeMorganParentType
get_de_morgan_parent_type(self: pysmile.Network, node_id: str, parent_index: int) -> pysmile.DeMorganParentType
get_de_morgan_parent_type(self: pysmile.Network, node_handle: int, parent_id: str) -> pysmile.DeMorganParentType
get_de_morgan_parent_type(self: pysmile.Network, node_id: str, parent_id: str) -> pysmile.DeMorganParentType

Returns DeMorgan parent type

get_de_morgan_parent_weight(self: pysmile.Network, node_handle: int, parent_index: int) -> float
get_de_morgan_parent_weight(self: pysmile.Network, node_id: str, parent_index: int) -> float
get_de_morgan_parent_weight(self: pysmile.Network, node_handle: int, parent_id: str) -> float
get_de_morgan_parent_weight(self: pysmile.Network, node_id: str, parent_id: str) -> float

Returns DeMorgan parent weight

get_de_morgan_prior_belief(self: pysmile.Network, node_handle: int) -> float
get_de_morgan_prior_belief(self: pysmile.Network, node_id: str) -> float

Returns DeMorgan prior belief

get_default_outcome(self: pysmile.Network, node_handle: int) -> int
get_default_outcome(self: pysmile.Network, node_id: str) -> int

Returns the default outcome label

get_default_outcome_id(self: pysmile.Network, node_handle: int) -> str
get_default_outcome_id(self: pysmile.Network, node_id: str) -> str

Returns the ID of the default outcome

get_description(self: pysmile.Network) -> str

Returns network description

get_discretization_sample_count(self: pysmile.Network) -> int

Returns sample count used for discretization

get_epis_params(self: pysmile.Network) -> pysmile.EPISParams

Returns the current EPIS sampling parameters

get_evidence(self: pysmile.Network, node_handle: int) -> int
get_evidence(self: pysmile.Network, node_id: str) -> int

Returns evidence for a node

get_evidence_id(self: pysmile.Network, node_handle: int) -> str
get_evidence_id(self: pysmile.Network, node_id: str) -> str

Returns evidence outcome ID

get_ext_functions(self: pysmile.Network) -> List[str]

Returns external functions

get_first_node(self: pysmile.Network) -> int

Returns handle to first node

get_first_node_id(self: pysmile.Network) -> str

Returns ID of first node

get_first_submodel(self: pysmile.Network) -> int

Returns handle to first submodel

get_id(self: pysmile.Network) -> str

Returns network ID

get_influence_diagram_algorithm(self: pysmile.Network) -> pysmile.InfluenceDiagramAlgorithmType

Returns influence diagram algorithm

get_intervals(self: pysmile.Network, node_handle: int) -> List[float]
get_intervals(self: pysmile.Network, node_id: str) -> List[float]

Returns interval values

get_library_build(self: pysmile.Network) -> str

Returns library build version

get_main_submodel(self: pysmile.Network) -> int

Returns main submodel handle

get_main_submodel_id(self: pysmile.Network) -> str

Returns ID of main submodel

get_mau_expressions(self: pysmile.Network, node_handle: int) -> List[str]
get_mau_expressions(self: pysmile.Network, node_id: str) -> List[str]

Returns MAU expressions

get_max_node_temporal_order(self: pysmile.Network, node_handle: int) -> int
get_max_node_temporal_order(self: pysmile.Network, node_id: str) -> int

Returns max temporal order of a node

get_max_temporal_order(self: pysmile.Network) -> int

Returns max temporal order in the network

get_name(self: pysmile.Network) -> str

Returns network name

get_next_node(self: pysmile.Network, node_handle: int) -> int
get_next_node(self: pysmile.Network, node_id: str) -> int

Returns next node handle

get_next_node_id(self: pysmile.Network, node_handle: int) -> str
get_next_node_id(self: pysmile.Network, node_id: str) -> str

Returns next node ID

get_next_submodel(self: pysmile.Network, handle: int) -> int

Returns next submodel handle

get_node(self: pysmile.Network, node_id: str) -> int

Returns node handle

get_node_bg_color(self: pysmile.Network, node_handle: int) -> int
get_node_bg_color(self: pysmile.Network, node_id: str) -> int

Returns background color of a node

get_node_border_color(self: pysmile.Network, node_handle: int) -> int
get_node_border_color(self: pysmile.Network, node_id: str) -> int

Returns border color of a node

get_node_border_width(self: pysmile.Network, node_handle: int) -> int
get_node_border_width(self: pysmile.Network, node_id: str) -> int

Returns node border width

get_node_chart_size(self: pysmile.Network, node_handle: int) -> List[int]
get_node_chart_size(self: pysmile.Network, node_id: str) -> List[int]

Returns node chart size

get_node_cost(self: pysmile.Network, node_handle: int) -> List[float]
get_node_cost(self: pysmile.Network, node_id: str) -> List[float]

Returns cost value of node

get_node_count(self: pysmile.Network) -> int

Returns number of nodes in network

get_node_definition(self: pysmile.Network, node_handle: int) -> List[float]
get_node_definition(self: pysmile.Network, node_id: str) -> List[float]

Returns definition table of node

get_node_description(self: pysmile.Network, node_handle: int) -> str
get_node_description(self: pysmile.Network, node_id: str) -> str

Returns description of a node

get_node_diag_type(self: pysmile.Network, node_handle: int) -> pysmile.NodeDiagType
get_node_diag_type(self: pysmile.Network, node_id: str) -> pysmile.NodeDiagType

Returns diagnostic type of node

get_node_documentation(self: pysmile.Network, node_handle: int) -> List[pysmile.DocItemInfo]
get_node_documentation(self: pysmile.Network, node_id: str) -> List[pysmile.DocItemInfo]

Returns documentation of a node

get_node_equation(self: pysmile.Network, node_handle: int) -> str
get_node_equation(self: pysmile.Network, node_id: str) -> str

Returns node equation

get_node_equation_bounds(self: pysmile.Network, node_handle: int) -> List[float]
get_node_equation_bounds(self: pysmile.Network, node_id: str) -> List[float]

Returns bounds of the node equation

get_node_equation_constant(self: pysmile.Network, node_handle: int) -> float
get_node_equation_constant(self: pysmile.Network, node_id: str) -> float

Returns constant flag for node equation

get_node_equation_discretization(self: pysmile.Network, node_handle: int) -> List[pysmile.DiscretizationInterval]
get_node_equation_discretization(self: pysmile.Network, node_id: str) -> List[pysmile.DiscretizationInterval]

Returns discretization for node equation

get_node_id(self: pysmile.Network, node_handle: int) -> str

Returns ID of node

get_node_mean(self: pysmile.Network, node_handle: int) -> float
get_node_mean(self: pysmile.Network, node_id: str) -> float

Returns mean value of a continuous node

get_node_name(self: pysmile.Network, node_handle: int) -> str
get_node_name(self: pysmile.Network, node_id: str) -> str

Returns node name

get_node_position(self: pysmile.Network, node_handle: int) -> List[int]
get_node_position(self: pysmile.Network, node_id: str) -> List[int]

Returns position of node

get_node_question(self: pysmile.Network, node_handle: int) -> str
get_node_question(self: pysmile.Network, node_id: str) -> str

Returns question string of node

get_node_sample_stats(self: pysmile.Network, node_handle: int) -> List[float]
get_node_sample_stats(self: pysmile.Network, node_id: str) -> List[float]

Returns sample statistics for node

get_node_std_dev(self: pysmile.Network, node_handle: int) -> float
get_node_std_dev(self: pysmile.Network, node_id: str) -> float

Returns standard deviation for continuous node

get_node_temporal_definition(self: pysmile.Network, node_handle: int, order: int) -> List[float]
get_node_temporal_definition(self: pysmile.Network, node_id: str, order: int) -> List[float]

Returns temporal definition table

get_node_temporal_mean(self: pysmile.Network, node_handle: int) -> List[float]
get_node_temporal_mean(self: pysmile.Network, node_id: str) -> List[float]

Returns the temporal mean for the specified node

get_node_temporal_std_dev(self: pysmile.Network, node_handle: int) -> List[float]
get_node_temporal_std_dev(self: pysmile.Network, node_id: str) -> List[float]

Returns the temporal standard deviation for the specified node

get_node_temporal_type(self: pysmile.Network, node_handle: int) -> pysmile.NodeTemporalType
get_node_temporal_type(self: pysmile.Network, node_id: str) -> pysmile.NodeTemporalType

Returns temporal type of node

get_node_text_color(self: pysmile.Network, node_handle: int) -> int
get_node_text_color(self: pysmile.Network, node_id: str) -> int

Returns node text color

get_node_type(self: pysmile.Network, node_handle: int) -> int
get_node_type(self: pysmile.Network, node_id: str) -> int

Returns node type

get_node_user_properties(self: pysmile.Network, node_handle: int) -> List[pysmile.UserProperty]
get_node_user_properties(self: pysmile.Network, node_id: str) -> List[pysmile.UserProperty]

Returns user-defined properties for node

get_node_value(self: pysmile.Network, node_handle: int) -> List[float]
get_node_value(self: pysmile.Network, node_id: str) -> List[float]

Returns belief value of node

get_noisy_decomposition_limit(self: pysmile.Network) -> int

Returns limit on noisy decomposition

get_noisy_expanded_definition(self: pysmile.Network, node_handle: int) -> List[float]
get_noisy_expanded_definition(self: pysmile.Network, node_id: str) -> List[float]

Returns expanded noisy-OR definition

get_noisy_parent_strengths(self: pysmile.Network, node_handle: int, parent_index: int) -> List[int]
get_noisy_parent_strengths(self: pysmile.Network, node_id: str, parent_index: int) -> List[int]
get_noisy_parent_strengths(self: pysmile.Network, node_handle: int, parent_id: str) -> List[int]
get_noisy_parent_strengths(self: pysmile.Network, node_id: str, parent_id: str) -> List[int]

Returns noisy parent strengths

get_noisy_temporal_parent_strengths(self: pysmile.Network, node_handle: int, order: int) -> List[List[int]]
get_noisy_temporal_parent_strengths(self: pysmile.Network, node_id: str, order: int) -> List[List[int]]

Returns noisy temporal parent strengths

get_outcome_count(self: pysmile.Network, node_handle: int) -> int
get_outcome_count(self: pysmile.Network, node_id: str) -> int

Returns number of outcomes for a node

get_outcome_description(self: pysmile.Network, node_handle: int, outcome_index: int) -> str
get_outcome_description(self: pysmile.Network, node_id: str, outcome_index: int) -> str
get_outcome_description(self: pysmile.Network, node_handle: int, outcome_id: str) -> str
get_outcome_description(self: pysmile.Network, node_id: str, outcome_id: str) -> str

Returns description for an outcome

get_outcome_documentation(self: pysmile.Network, node_handle: int, outcome_index: int) -> List[pysmile.DocItemInfo]
get_outcome_documentation(self: pysmile.Network, node_id: str, outcome_index: int) -> List[pysmile.DocItemInfo]
get_outcome_documentation(self: pysmile.Network, node_id: str, outcome_id: str) -> List[pysmile.DocItemInfo]
get_outcome_documentation(self: pysmile.Network, node_handle: int, outcome_id: str) -> List[pysmile.DocItemInfo]

Returns documentation for an outcome

get_outcome_fix(self: pysmile.Network, node_handle: int, outcome_index: int) -> str
get_outcome_fix(self: pysmile.Network, node_id: str, outcome_index: int) -> str
get_outcome_fix(self: pysmile.Network, node_handle: int, outcome_id: str) -> str
get_outcome_fix(self: pysmile.Network, node_id: str, outcome_id: str) -> str

Returns fix flag for an outcome

get_outcome_id(self: pysmile.Network, node_handle: int, outcome_index: int) -> str
get_outcome_id(self: pysmile.Network, node_id: str, outcome_index: int) -> str

Returns ID of outcome

get_outcome_ids(self: pysmile.Network, arg0: int) -> List[str]
get_outcome_ids(self: pysmile.Network, arg0: str) -> List[str]

Returns all outcome IDs

get_outcome_label(self: pysmile.Network, node_handle: int, outcome_index: int) -> str
get_outcome_label(self: pysmile.Network, node_id: str, outcome_index: int) -> str
get_outcome_label(self: pysmile.Network, node_handle: int, outcome_id: str) -> str
get_outcome_label(self: pysmile.Network, node_id: str, outcome_id: str) -> str

Returns label of an outcome

get_parent_ids(self: pysmile.Network, node_handle: int) -> List[str]
get_parent_ids(self: pysmile.Network, node_id: str) -> List[str]

Returns parent node IDs

get_parents(self: pysmile.Network, node_handle: int) -> List[int]
get_parents(self: pysmile.Network, node_id: str) -> List[int]

Returns parent node handles

get_point_values(self: pysmile.Network, node_handle: int) -> List[float]
get_point_values(self: pysmile.Network, node_id: str) -> List[float]

Returns node point values

get_rand_seed(self: pysmile.Network) -> int

Returns the current random seed

get_sample_count(self: pysmile.Network) -> int

Returns number of samples for inference

get_slice_count(self: pysmile.Network) -> int

Returns number of time slices

get_submodel(self: pysmile.Network, id: str) -> int

Returns handle to submodel

get_submodel_count(self: pysmile.Network) -> int

Returns number of submodels

get_submodel_description(self: pysmile.Network, handle: int) -> str
get_submodel_description(self: pysmile.Network, id: str) -> str

Returns description of submodel

get_submodel_id(self: pysmile.Network, handle: int) -> str

Returns ID of submodel

get_submodel_name(self: pysmile.Network, handle: int) -> str
get_submodel_name(self: pysmile.Network, id: str) -> str

Returns name of submodel

get_submodel_of_node(self: pysmile.Network, node_handle: int) -> int
get_submodel_of_node(self: pysmile.Network, node_id: str) -> int

Returns submodel handle containing a given node

get_submodel_of_submodel(self: pysmile.Network, submodel_handle: int) -> int
get_submodel_of_submodel(self: pysmile.Network, submodel_id: str) -> int

Returns parent submodel

get_submodel_position(self: pysmile.Network, submodel_handle: int) -> List[int]
get_submodel_position(self: pysmile.Network, submodel_id: str) -> List[int]

Returns position of submodel

get_temporal_children(self: pysmile.Network, node_handle: int) -> List[pysmile.TemporalInfo]
get_temporal_children(self: pysmile.Network, node_id: str) -> List[pysmile.TemporalInfo]

Returns temporal child nodes

get_temporal_cont_evidence(self: pysmile.Network, node_handle: int, slice: int) -> float
get_temporal_cont_evidence(self: pysmile.Network, node_id: str, slice: int) -> float

Returns temporal continuous evidence values

get_temporal_evidence(self: pysmile.Network, node_handle: int, slice: int) -> int
get_temporal_evidence(self: pysmile.Network, node_id: str, slice: int) -> int

Returns temporal evidence values

get_temporal_evidence_id(self: pysmile.Network, node_handle: int, slice: int) -> str
get_temporal_evidence_id(self: pysmile.Network, node_id: str, slice: int) -> str

Returns ID of temporal evidence

get_temporal_orders(self: pysmile.Network, node_handle: int) -> List[int]
get_temporal_orders(self: pysmile.Network, node_id: str) -> List[int]

Returns temporal orders

get_temporal_parents(self: pysmile.Network, node_handle: int, order: int) -> List[pysmile.TemporalInfo]
get_temporal_parents(self: pysmile.Network, node_handle: str, order: int) -> List[pysmile.TemporalInfo]

Returns temporal parent nodes

get_temporal_virtual_evidence(self: pysmile.Network, node_handle: int, slice: int) -> List[float]
get_temporal_virtual_evidence(self: pysmile.Network, node_id: str, slice: int) -> List[float]

Returns temporal virtual evidence

get_unrolled_parents(self: pysmile.Network, node_handle: int, order: int) -> List[pysmile.TemporalInfo]
get_unrolled_parents(self: pysmile.Network, node_id: str, order: int) -> List[pysmile.TemporalInfo]
get_unrolled_parents(self: pysmile.Network, node_handle: int) -> List[pysmile.TemporalInfo]
get_unrolled_parents(self: pysmile.Network, node_id: str) -> List[pysmile.TemporalInfo]

Returns unrolled parent nodes

get_user_properties(self: pysmile.Network) -> List[pysmile.UserProperty]

Returns user-defined network properties

get_value_indexing_parent_ids(self: pysmile.Network, node_handle: int) -> List[str]
get_value_indexing_parent_ids(self: pysmile.Network, node_id: str) -> List[str]

Returns parent IDs for value indexing

get_value_indexing_parents(self: pysmile.Network, node_handle: int) -> List[int]
get_value_indexing_parents(self: pysmile.Network, node_id: str) -> List[int]

Returns parent handles for value indexing

get_virtual_evidence(self: pysmile.Network, node_handle: int) -> List[float]
get_virtual_evidence(self: pysmile.Network, node_id: str) -> List[float]

Returns virtual evidence for node

has_intervals(self: pysmile.Network, node_handle: int) -> bool
has_intervals(self: pysmile.Network, node_id: str) -> bool

Returns true if node has intervals

has_outcome_ids(self: pysmile.Network, node_handle: int) -> bool
has_outcome_ids(self: pysmile.Network, node_id: str) -> bool

Returns true if node uses outcome IDs

has_point_values(self: pysmile.Network, node_handle: int) -> bool
has_point_values(self: pysmile.Network, node_id: str) -> bool

Returns true if node has point values

has_temporal_evidence(self: pysmile.Network, node_handle: int) -> bool
has_temporal_evidence(self: pysmile.Network, node_id: str) -> bool

Returns true if temporal evidence exists

insert_outcome(self: pysmile.Network, node_handle: int, outcome_index: int, outcome_id: str) -> None
insert_outcome(self: pysmile.Network, node_id: str, outcome_index: int, outcome_id: str) -> None

Inserts a new outcome to a node

is_case_sync_enabled(self: pysmile.Network) -> bool

Checks whether case synchronization is enabled

is_case_target(self: pysmile.Network, case_index: int, node_handle: int) -> bool
is_case_target(self: pysmile.Network, case_name: str, node_handle: int) -> bool
is_case_target(self: pysmile.Network, case_index: int, node_id: str) -> bool
is_case_target(self: pysmile.Network, case_name: str, node_id: str) -> bool

Checks whether a node is a target in the given case

is_controlled(self: pysmile.Network, node_handle: int) -> bool
is_controlled(self: pysmile.Network, node_id: str) -> bool

Returns true if node is controlled

is_evidence(self: pysmile.Network, node_handle: int) -> bool
is_evidence(self: pysmile.Network, node_id: str) -> bool

Returns true if node has evidence set

is_fault_outcome(self: pysmile.Network, node_handle: int, outcome_index: int) -> bool
is_fault_outcome(self: pysmile.Network, node_id: str, outcome_index: int) -> bool
is_fault_outcome(self: pysmile.Network, node_handle: int, outcome_id: str) -> bool
is_fault_outcome(self: pysmile.Network, node_id: str, outcome_id: str) -> bool

Returns true if outcome is fault

is_mandatory(self: pysmile.Network, node_handle: int) -> bool
is_mandatory(self: pysmile.Network, node_id: str) -> bool

Returns true if node is mandatory

is_node_chart_enabled(self: pysmile.Network, node_handle: int) -> bool
is_node_chart_enabled(self: pysmile.Network, node_id: str) -> bool

Returns true if node chart is enabled

is_node_equation_constant(self: pysmile.Network, node_handle: int) -> bool
is_node_equation_constant(self: pysmile.Network, node_id: str) -> bool

Returns true if node equation is constant

is_node_equation_deterministic(self: pysmile.Network, node_handle: int) -> bool
is_node_equation_deterministic(self: pysmile.Network, node_id: str) -> bool

Returns true if node equation is deterministic

is_noisy_decomposition_enabled(self: pysmile.Network) -> bool

Returns true if noisy decomposition is enabled

is_noisy_expanded(self: pysmile.Network, node_handle: int) -> bool
is_noisy_expanded(self: pysmile.Network, node_id: str) -> bool

Returns true if noisy OR is expanded

is_noisy_synchronized(self: pysmile.Network, node_handle: int) -> bool
is_noisy_synchronized(self: pysmile.Network, node_id: str) -> bool

Returns true if noisy strengths are synchronized

is_outlier_rejection_enabled(self: pysmile.Network) -> bool

Returns true if outlier rejection is enabled

is_propagated_evidence(self: pysmile.Network, node_handle: int) -> bool
is_propagated_evidence(self: pysmile.Network, node_id: str) -> bool

Returns true if node has propagated evidence

is_ranked(self: pysmile.Network, node_handle: int) -> bool
is_ranked(self: pysmile.Network, node_id: str) -> bool

Returns true if node is ranked

is_real_evidence(self: pysmile.Network, node_handle: int) -> bool
is_real_evidence(self: pysmile.Network, node_id: str) -> bool

Returns true if real evidence is set

is_relevance_enabled(self: pysmile.Network) -> bool

Returns true if relevance is enabled

is_target(self: pysmile.Network, node_handle: int) -> bool
is_target(self: pysmile.Network, node_id: str) -> bool

Returns true if node is a target

is_temporal_cont_evidence(self: pysmile.Network, node_handle: int, slice: int) -> bool
is_temporal_cont_evidence(self: pysmile.Network, node_id: str, slice: int) -> bool

Returns true if node has temporal continuous evidence

is_temporal_evidence(self: pysmile.Network, node_handle: int, slice: int) -> bool
is_temporal_evidence(self: pysmile.Network, node_id: str, slice: int) -> bool

Returns true if node has temporal evidence

is_temporal_virtual_evidence(self: pysmile.Network, node_handle: int, slice: int) -> bool
is_temporal_virtual_evidence(self: pysmile.Network, node_id: str, slice: int) -> bool

Returns true if node has temporal virtual evidence

is_value_discretized(self: pysmile.Network, node_handle: int) -> bool
is_value_discretized(self: pysmile.Network, node_id: str) -> bool

Returns true if node values are discretized

is_value_valid(self: pysmile.Network, node_handle: int) -> bool
is_value_valid(self: pysmile.Network, node_id: str) -> bool

Returns true if node value is valid

is_virtual_evidence(self: pysmile.Network, node_handle: int) -> bool
is_virtual_evidence(self: pysmile.Network, node_id: str) -> bool

Returns true if node has virtual evidence

is_zero_avoidance_enabled(self: pysmile.Network) -> bool

Returns true if zero-avoidance is enabled

marginalize_node(self: pysmile.Network, node_handle: int) -> None
marginalize_node(self: pysmile.Network, node_id: str) -> None

Remove node from the network, and modify the definitions of the remaining nodes, so that the joint probability distribution over the remaining variables in the network is unchanged

most_probable_explanation(self: pysmile.Network) -> pysmile.MpeResults

Computes the Most Probable Explanation (MPE) for the current evidence

prob_evidence(self: pysmile.Network) -> float

Returns probability of evidence

read_file(self: pysmile.Network, xdsl_file: str) -> None

Reads network from a file

read_string(self: pysmile.Network, xdsl_string: str) -> None

Reads network from a string

redirect_log(self: pysmile.Network, std_file_descriptor: int) -> None
redirect_log(self: pysmile.Network, filename: str) -> None

Redirects SMILE log output

remove_intervals(self: pysmile.Network, node_handle: int) -> None
remove_intervals(self: pysmile.Network, node_id: str) -> None

Removes interval values

remove_point_values(self: pysmile.Network, node_handle: int) -> None
remove_point_values(self: pysmile.Network, node_id: str) -> None

Removes point values

save_network_to_case(self: pysmile.Network, case_index: int) -> None
save_network_to_case(self: pysmile.Network, case_name: str) -> None

Saves current network state to a case

set_bayesian_algorithm(self: pysmile.Network, bayesian_algorithm: pysmile.BayesianAlgorithmType) -> None

Sets the Bayesian inference algorithm

set_case_category(self: pysmile.Network, case_index: int, category: str) -> None
set_case_category(self: pysmile.Network, case_name: str, category: str) -> None

Sets the category of a case

set_case_created(self: pysmile.Network, case_index: int, created: int) -> None
set_case_created(self: pysmile.Network, case_name: str, created: int) -> None

Sets the creation timestamp of a case

set_case_description(self: pysmile.Network, case_index: int, description: str) -> None
set_case_description(self: pysmile.Network, case_name: str, description: str) -> None

Sets the description of a case

set_case_evidence(self: pysmile.Network, case_index: int, node_handle: int, case_evidence: pysmile.CaseEvidenceInfo) -> None
set_case_evidence(self: pysmile.Network, case_index: int, node_id: str, case_evidence: pysmile.CaseEvidenceInfo) -> None
set_case_evidence(self: pysmile.Network, case_name: str, node_handle: int, case_evidence: pysmile.CaseEvidenceInfo) -> None
set_case_evidence(self: pysmile.Network, case_name: str, node_id: str, case_evidence: pysmile.CaseEvidenceInfo) -> None

Sets evidence for a node in a case

set_case_last_modified(self: pysmile.Network, case_index: int, created: int) -> None
set_case_last_modified(self: pysmile.Network, case_name: str, created: int) -> None

Sets the last modified timestamp of a case

set_case_name(self: pysmile.Network, case_index: int, name: str) -> None
set_case_name(self: pysmile.Network, case_name: str, name: str) -> None

Sets the name of a case

set_case_targets(self: pysmile.Network, case_index: int, target_handles: List[int]) -> None
set_case_targets(self: pysmile.Network, case_name: str, target_handles: List[int]) -> None
set_case_targets(self: pysmile.Network, case_index: int, target_ids: List[str]) -> None
set_case_targets(self: pysmile.Network, case_name: str, target_ids: List[str]) -> None

Sets target nodes for a case

set_case_temporal_evidence(self: pysmile.Network, case_index: int, node_handle: int, case_temporal_evidence: List[pysmile.CaseEvidenceInfo]) -> None
set_case_temporal_evidence(self: pysmile.Network, case_index: int, node_id: str, case_temporal_evidence: List[pysmile.CaseEvidenceInfo]) -> None
set_case_temporal_evidence(self: pysmile.Network, case_name: str, node_handle: int, case_temporal_evidence: List[pysmile.CaseEvidenceInfo]) -> None
set_case_temporal_evidence(self: pysmile.Network, case_name: str, node_id: str, case_temporal_evidence: List[pysmile.CaseEvidenceInfo]) -> None

Sets temporal evidence for a node in a case

set_cont_evidence(self: pysmile.Network, node_handle: int, evidence: float) -> None
set_cont_evidence(self: pysmile.Network, node_id: str, evidence: float) -> None

Sets continuous evidence

set_controlled_value(self: pysmile.Network, node_handle: int, outcome_index: int) -> None
set_controlled_value(self: pysmile.Network, node_id: str, outcome_index: int) -> None
set_controlled_value(self: pysmile.Network, node_handle: int, outcome_id: str) -> None
set_controlled_value(self: pysmile.Network, node_id: str, outcome_id: str) -> None

Sets controlled value for decision node

set_de_morgan_parent_type(self: pysmile.Network, node_handle: int, parent_index: int, parent_type: pysmile.DeMorganParentType) -> None
set_de_morgan_parent_type(self: pysmile.Network, node_id: str, parent_index: int, parent_type: pysmile.DeMorganParentType) -> None
set_de_morgan_parent_type(self: pysmile.Network, node_handle: int, parent_id: str, parent_type: pysmile.DeMorganParentType) -> None
set_de_morgan_parent_type(self: pysmile.Network, node_id: str, parent_id: str, parent_type: pysmile.DeMorganParentType) -> None

Sets DeMorgan parent type

set_de_morgan_parent_weight(self: pysmile.Network, node_handle: int, parent_index: int, parent_weight: float) -> None
set_de_morgan_parent_weight(self: pysmile.Network, node_id: str, parent_index: int, parent_weight: float) -> None
set_de_morgan_parent_weight(self: pysmile.Network, node_handle: int, parent_id: str, parent_weight: float) -> None
set_de_morgan_parent_weight(self: pysmile.Network, node_id: str, parent_id: str, parent_weight: float) -> None

Sets DeMorgan parent weight

set_de_morgan_prior_belief(self: pysmile.Network, node_handle: int, belief: float) -> None
set_de_morgan_prior_belief(self: pysmile.Network, node_id: str, belief: float) -> None

Sets DeMorgan prior belief

set_default_outcome(self: pysmile.Network, node_handle: int, def_outcome: int) -> None
set_default_outcome(self: pysmile.Network, node_id: str, def_outcome: int) -> None
set_default_outcome(self: pysmile.Network, node_handle: int, def_outcome_id: str) -> None
set_default_outcome(self: pysmile.Network, node_id: str, def_outcome_id: str) -> None

Sets default outcome

set_description(self: pysmile.Network, new_description: str) -> None

Sets network description

set_discretization_sample_count(self: pysmile.Network, discretization_sample_count: int) -> None

Sets sample count for discretization

set_epis_params(self: pysmile.Network, epis_params: pysmile.EPISParams) -> None

Sets EPIS sampling parameters

set_evidence(self: pysmile.Network, node_handle: int, evidence_number: int) -> None
set_evidence(self: pysmile.Network, node_handle: int, evidence_id: str) -> None
set_evidence(self: pysmile.Network, node_id: str, evidence_number: int) -> None
set_evidence(self: pysmile.Network, node_id: str, evidence_id: str) -> None

Sets evidence on a node

set_ext_functions(self: pysmile.Network, external_functions: List[str]) -> None

Sets external functions

set_fault_outcome(self: pysmile.Network, node_handle: int, outcome_index: int, fault: bool) -> None
set_fault_outcome(self: pysmile.Network, node_id: str, outcome_index: int, fault: bool) -> None
set_fault_outcome(self: pysmile.Network, node_handle: int, outcome_id: str, fault: bool) -> None
set_fault_outcome(self: pysmile.Network, node_id: str, outcome_id: str, fault: bool) -> None

Sets fault outcome

set_id(self: pysmile.Network, new_id: str) -> None

Sets network ID

set_influence_diagram_algorithm(self: pysmile.Network, influence_diagram_algorithm: pysmile.InfluenceDiagramAlgorithmType) -> None

Sets influence diagram algorithm

set_intervals(self: pysmile.Network, node_handle: int, intervals: List[float], remove_ids: bool) -> None
set_intervals(self: pysmile.Network, node_id: str, intervals: List[float], remove_ids: bool) -> None

Sets interval values

set_mandatory(self: pysmile.Network, node_handle: int, mandatory: bool) -> None
set_mandatory(self: pysmile.Network, node_id: str, mandatory: bool) -> None

Sets node as mandatory

set_mau_expressions(self: pysmile.Network, node_handle: int, expressions: List[str]) -> None
set_mau_expressions(self: pysmile.Network, node_id: str, expressions: List[str]) -> None

Sets MAU expressions

set_name(self: pysmile.Network, new_name: str) -> None

Sets network name

set_node_bg_color(self: pysmile.Network, node_handle: int, color: int) -> None
set_node_bg_color(self: pysmile.Network, node_id: str, color: int) -> None

Sets node background color

set_node_border_color(self: pysmile.Network, node_handle: int, color: int) -> None
set_node_border_color(self: pysmile.Network, node_id: str, color: int) -> None

Sets node border color

set_node_border_width(self: pysmile.Network, node_handle: int, width: int) -> None
set_node_border_width(self: pysmile.Network, node_id: str, width: int) -> None

Sets node border width

set_node_chart_enabled(self: pysmile.Network, node_handle: int, enabled: bool) -> None
set_node_chart_enabled(self: pysmile.Network, node_id: str, enabled: bool) -> None

Enables or disables node chart

set_node_chart_size(self: pysmile.Network, node_handle: int, width: int, height: int) -> None
set_node_chart_size(self: pysmile.Network, node_id: str, width: int, height: int) -> None

Sets node chart size

set_node_cost(self: pysmile.Network, node_handle: int, cost: List[float]) -> None
set_node_cost(self: pysmile.Network, node_id: str, cost: List[float]) -> None

Sets node cost

set_node_definition(self: pysmile.Network, node_handle: int, node_definition: List[float]) -> None
set_node_definition(self: pysmile.Network, node_id: str, node_definition: List[float]) -> None

Sets node definition table

set_node_description(self: pysmile.Network, node_handle: int, new_node_description: str) -> None
set_node_description(self: pysmile.Network, node_id: str, new_node_description: str) -> None

Sets node description

set_node_diag_type(self: pysmile.Network, node_handle: int, type: pysmile.NodeDiagType) -> None
set_node_diag_type(self: pysmile.Network, node_id: str, type: pysmile.NodeDiagType) -> None

Sets node diagnostic type

set_node_documentation(self: pysmile.Network, node_handle: int, documentation: List[pysmile.DocItemInfo]) -> None
set_node_documentation(self: pysmile.Network, node_id: str, documentation: List[pysmile.DocItemInfo]) -> None

Sets node documentation

set_node_equation(self: pysmile.Network, node_handle: int, equation: str) -> None
set_node_equation(self: pysmile.Network, node_id: str, equation: str) -> None

Sets node equation

set_node_equation_bounds(self: pysmile.Network, node_handle: int, lo: float, hi: float) -> None
set_node_equation_bounds(self: pysmile.Network, node_id: str, lo: float, hi: float) -> None

Sets bounds for node equation

set_node_equation_discretization(self: pysmile.Network, node_handle: int, intervals: List[pysmile.DiscretizationInterval]) -> None
set_node_equation_discretization(self: pysmile.Network, node_id: str, intervals: List[pysmile.DiscretizationInterval]) -> None

Sets discretization method

set_node_equation_uniform_discretization(self: pysmile.Network, node_handle: int, interval_count: int) -> None
set_node_equation_uniform_discretization(self: pysmile.Network, node_id: str, interval_count: int) -> None

Discretizes a continuous equation node using uniform intervals

set_node_id(self: pysmile.Network, node_handle: int, new_id: str) -> None
set_node_id(self: pysmile.Network, old_id: str, new_id: str) -> None

Sets ID of a node

set_node_name(self: pysmile.Network, arg0: int, arg1: str) -> None
set_node_name(self: pysmile.Network, arg0: str, arg1: str) -> None

Sets name of a node

set_node_position(self: pysmile.Network, node_handle: int, x: int, y: int, width: int, height: int) -> None
set_node_position(self: pysmile.Network, node_id: str, x: int, y: int, width: int, height: int) -> None
set_node_position(self: pysmile.Network, node_handle: int, rect: List[int]) -> None
set_node_position(self: pysmile.Network, node_id: str, rect: List[int]) -> None

Sets position of a node

set_node_question(self: pysmile.Network, node_handle: int, question: str) -> None
set_node_question(self: pysmile.Network, node_id: str, question: str) -> None

Sets question string

set_node_temporal_definition(self: pysmile.Network, node_handle: int, order: int, definition: List[float]) -> None
set_node_temporal_definition(self: pysmile.Network, node_id: str, order: int, definition: List[float]) -> None

Sets temporal definition table

set_node_temporal_type(self: pysmile.Network, node_handle: int, temporal_type: pysmile.NodeTemporalType) -> None
set_node_temporal_type(self: pysmile.Network, node_id: str, temporal_type: pysmile.NodeTemporalType) -> None

Sets temporal type

set_node_text_color(self: pysmile.Network, node_handle: int, color: int) -> None
set_node_text_color(self: pysmile.Network, node_id: str, color: int) -> None

Sets node text color

set_node_type(self: pysmile.Network, node_handle: int, new_node_type: int) -> None
set_node_type(self: pysmile.Network, node_id: str, new_node_type: int) -> None

Sets type of node

set_node_user_properties(self: pysmile.Network, node_handle: int, properties: List[pysmile.UserProperty]) -> None
set_node_user_properties(self: pysmile.Network, node_id: str, properties: List[pysmile.UserProperty]) -> None

Sets user properties of node

set_noisy_decomposition_enabled(self: pysmile.Network, enabled: bool) -> None

Enables noisy decomposition

set_noisy_decomposition_limit(self: pysmile.Network, limit: int) -> None

Sets limit on noisy decomposition

set_noisy_parent_strengths(self: pysmile.Network, node_handle: int, parent_index: int, strengths: List[int]) -> None
set_noisy_parent_strengths(self: pysmile.Network, node_id: str, parent_index: int, strengths: List[int]) -> None
set_noisy_parent_strengths(self: pysmile.Network, node_handle: int, parent_id: str, strengths: List[int]) -> None
set_noisy_parent_strengths(self: pysmile.Network, node_id: str, parent_id: str, strengths: List[int]) -> None

Sets noisy parent strengths

set_noisy_synchronized(self: pysmile.Network, node_handle: int, enable: bool) -> None
set_noisy_synchronized(self: pysmile.Network, node_id: str, enable: bool) -> None

Synchronizes noisy strengths

set_noisy_temporal_parent_strengths(self: pysmile.Network, node_handle: int, order: int, strengths: List[List[int]]) -> None
set_noisy_temporal_parent_strengths(self: pysmile.Network, node_id: str, order: int, strengths: List[List[int]]) -> None

Sets noisy temporal strengths

set_outcome_description(self: pysmile.Network, node_handle: int, outcome_index: int, description: str) -> None
set_outcome_description(self: pysmile.Network, node_id: str, outcome_index: int, description: str) -> None
set_outcome_description(self: pysmile.Network, node_handle: int, outcome_id: str, description: str) -> None
set_outcome_description(self: pysmile.Network, node_id: str, outcome_id: str, description: str) -> None

Sets outcome description

set_outcome_documentation(self: pysmile.Network, node_handle: int, outcome_index: int, documentation: List[pysmile.DocItemInfo]) -> None
set_outcome_documentation(self: pysmile.Network, node_handle: int, outcome_id: str, documentation: List[pysmile.DocItemInfo]) -> None
set_outcome_documentation(self: pysmile.Network, node_id: str, outcome_id: str, documentation: List[pysmile.DocItemInfo]) -> None
set_outcome_documentation(self: pysmile.Network, node_id: str, outcome_index: int, documentation: List[pysmile.DocItemInfo]) -> None

Sets outcome documentation

set_outcome_fix(self: pysmile.Network, node_handle: int, outcome_index: int, treatment: str) -> None
set_outcome_fix(self: pysmile.Network, node_id: str, outcome_index: int, treatment: str) -> None
set_outcome_fix(self: pysmile.Network, node_handle: int, outcome_id: str, treatment: str) -> None
set_outcome_fix(self: pysmile.Network, node_id: str, outcome_id: str, treatment: str) -> None

Fixes an outcome value

set_outcome_id(self: pysmile.Network, node_handle: int, old_outcome_id: str, new_outcome_id: str) -> None
set_outcome_id(self: pysmile.Network, node_id: str, old_outcome_id: str, new_outcome_id: str) -> None
set_outcome_id(self: pysmile.Network, node_handle: int, outcome_index: int, new_outcome_id: str) -> None
set_outcome_id(self: pysmile.Network, node_id: str, outcome_index: int, new_outcome_id: str) -> None

Sets ID of an outcome

set_outcome_label(self: pysmile.Network, node_handle: int, outcome_index: int, label: str) -> None
set_outcome_label(self: pysmile.Network, node_id: str, outcome_index: int, label: str) -> None
set_outcome_label(self: pysmile.Network, node_handle: int, outcome_id: str, label: str) -> None
set_outcome_label(self: pysmile.Network, node_id: str, outcome_id: str, label: str) -> None

Sets outcome label

set_outlier_rejection_enabled(self: pysmile.Network, enable: bool) -> None

Enables outlier rejection

set_point_values(self: pysmile.Network, node_handle: int, point_values: List[float]) -> None
set_point_values(self: pysmile.Network, node_id: str, point_values: List[float]) -> None

Sets point values for a node

set_rand_seed(self: pysmile.Network, arg0: int) -> None

Sets the random seed

set_ranked(self: pysmile.Network, node_handle: int, ranked: bool) -> None
set_ranked(self: pysmile.Network, node_id: str, ranked: bool) -> None

Sets ranking mode

set_relevance_enabled(self: pysmile.Network, enable: bool) -> None

Enables relevance propagation

set_sample_count(self: pysmile.Network, sample_count: int) -> None

Sets sample count

set_slice_count(self: pysmile.Network, slice_count: int) -> None

Sets number of time slices

set_submodel_description(self: pysmile.Network, handle: int, descrption: str) -> None
set_submodel_description(self: pysmile.Network, id: str, descrption: str) -> None

Sets submodel description

set_submodel_id(self: pysmile.Network, handle: int, id: str) -> None

Sets submodel ID

set_submodel_name(self: pysmile.Network, handle: int, name: str) -> None
set_submodel_name(self: pysmile.Network, id: str, name: str) -> None

Sets submodel name

set_submodel_of_node(self: pysmile.Network, submodel_handle: int, node_handle: int) -> None
set_submodel_of_node(self: pysmile.Network, submodel_id: str, node_id: str) -> None

Assigns node to submodel

set_submodel_of_submodel(self: pysmile.Network, parent_handle: int, child_handle: int) -> None
set_submodel_of_submodel(self: pysmile.Network, parent_id: str, child_id: str) -> None

Assigns submodel to parent submodel

set_submodel_position(self: pysmile.Network, submodel_handle: int, x: int, y: int, width: int, height: int) -> None
set_submodel_position(self: pysmile.Network, submodel_id: str, x: int, y: int, width: int, height: int) -> None
set_submodel_position(self: pysmile.Network, submodel_handle: int, rect: List[int]) -> None
set_submodel_position(self: pysmile.Network, submodel_id: str, rect: List[int]) -> None

Sets submodel position

set_target(self: pysmile.Network, node_handle: int, is_target: bool) -> None
set_target(self: pysmile.Network, node_id: str, is_target: bool) -> None

Marks node as target

set_temporal_cont_evidence(self: pysmile.Network, node_handle: int, slice: int, evidence: float) -> None
set_temporal_cont_evidence(self: pysmile.Network, node_id: str, slice: int, evidence: float) -> None

Sets temporal continuous evidence

set_temporal_evidence(self: pysmile.Network, node_handle: int, slice: int, outcome_index: int) -> None
set_temporal_evidence(self: pysmile.Network, node_id: str, slice: int, outcome_index: int) -> None
set_temporal_evidence(self: pysmile.Network, node_handle: int, slice: int, outcome_id: str) -> None
set_temporal_evidence(self: pysmile.Network, node_id: str, slice: int, outcome_id: str) -> None

Sets temporal evidence

set_temporal_virtual_evidence(self: pysmile.Network, node_handle: int, slice: int, evidence_definition: List[float]) -> None
set_temporal_virtual_evidence(self: pysmile.Network, node_id: str, slice: int, evidence_definition: List[float]) -> None

Sets temporal virtual evidence

set_user_properties(self: pysmile.Network, properties: List[pysmile.UserProperty]) -> None

Sets user-defined network properties

set_virtual_evidence(self: pysmile.Network, node_handle: int, evidence: List[float]) -> None
set_virtual_evidence(self: pysmile.Network, node_id: str, evidence: List[float]) -> None

Sets virtual evidence on a node

set_zero_avoidance_enabled(self: pysmile.Network, enable: bool) -> None

Enables zero-avoidance

temporal_arc_exists(self: pysmile.Network, parent_handle: int, child_handle: int, order: int) -> bool
temporal_arc_exists(self: pysmile.Network, parent_id: str, child_id: str, order: int) -> bool

Checks if temporal arc exists

unroll(self: pysmile.Network) -> pysmile.UnrollResults

Unrolls the temporal network

update_beliefs(self: pysmile.Network) -> None

Updates all node beliefs

write_file(self: pysmile.Network, xdsl_file: str) -> None

Writes network to a file

write_string(self: pysmile.Network) -> str

Serializes network to a string