C# Class Bevisuali.UX.Graph.GraphInspector

Inheritance: System.Windows.Controls.UserControl
Afficher le fichier Open project: duckmaestro/F-AI

Méthodes publiques

Méthode Description
GraphInspector ( ) : System
SetConfiguringVariable ( string variableName ) : void
SetGraph ( BayesianNetwork network, string>.IDictionary variableAbbreviations ) : void

Assigns a network to this graph inspector. The graph inspector uses this network's local probability descriptions and structure. Layout must be updated separately.

SetGraphLayout ( Point>.IDictionary layout ) : void

Provides a graph layout for this inspector to use.

SetInferenceResults ( DiscreteDistribution>.IDictionary results, int scenarioId, FAI evidence ) : void
SetInterestVariables ( IEnumerable variableNames ) : void

Configures the graph to emphasize the nodes listed.

SetLayoutOptions ( object options ) : void
SetSelectedVariable ( string variableName ) : void
SetZoom ( double zoom ) : void

Private Methods

Méthode Description
AddNode ( GraphNode graphNode ) : void
OnBayesianNetworkStructureChanged ( object sender, BayesianNetwork args ) : void
RemoveNode ( GraphNode node ) : void
UpdateEdges ( GraphNode nodeOfInterest = null ) : void
UpdateNodeSizes ( ) : void
xRoot_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

GraphInspector() public méthode

public GraphInspector ( ) : System
Résultat System

SetConfiguringVariable() public méthode

public SetConfiguringVariable ( string variableName ) : void
variableName string
Résultat void

SetGraph() public méthode

Assigns a network to this graph inspector. The graph inspector uses this network's local probability descriptions and structure. Layout must be updated separately.
public SetGraph ( BayesianNetwork network, string>.IDictionary variableAbbreviations ) : void
network BayesianNetwork
variableAbbreviations string>.IDictionary
Résultat void

SetGraphLayout() public méthode

Provides a graph layout for this inspector to use.
public SetGraphLayout ( Point>.IDictionary layout ) : void
layout Point>.IDictionary
Résultat void

SetInferenceResults() public méthode

public SetInferenceResults ( DiscreteDistribution>.IDictionary results, int scenarioId, FAI evidence ) : void
results DiscreteDistribution>.IDictionary
scenarioId int
evidence FAI
Résultat void

SetInterestVariables() public méthode

Configures the graph to emphasize the nodes listed.
public SetInterestVariables ( IEnumerable variableNames ) : void
variableNames IEnumerable
Résultat void

SetLayoutOptions() public méthode

public SetLayoutOptions ( object options ) : void
options object
Résultat void

SetSelectedVariable() public méthode

public SetSelectedVariable ( string variableName ) : void
variableName string
Résultat void

SetZoom() public méthode

public SetZoom ( double zoom ) : void
zoom double
Résultat void