Class SubgraphProbExample
java.lang.Object
org.tweetyproject.arg.prob.examples.SubgraphProbExample
Example code for showing how to work with subgraph probability distributions
and updates.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SubgraphProbExample
public SubgraphProbExample()Default
-
-
Method Details
-
main
This method demonstrates the use of a Dung argumentation framework (AAF) and a subgraph probability function. It includes the following steps: 1. Creating a Dung argumentation theory with three arguments (a, b, and c) and multiple attacks. 2. Initializing and printing the subgraph probability function for the theory. 3. Performing a rough update of the subgraph probability function by modifying the argumentation theory. 4. Printing the updated subgraph probability function and checking if the updated probability distribution is normalized. The method provides a basic example of how to use the TweetyProject libraries to work with argumentation frameworks and probabilistic reasoning.- Parameters:
args
- Command-line arguments (not used in this example).
-