Class MlnExample
java.lang.Object
org.tweetyproject.logics.mln.examples.MlnExample
Shows how MLNs can be constructed programmatically and shows how coherence measures can be used.
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Pair<MarkovLogicNetwork,
FolSignature> CommonColdExample
(int domain_size) static Pair<MarkovLogicNetwork,
FolSignature> ElephantZooExample
(int domain_size) static Pair<MarkovLogicNetwork,
FolSignature> iterateExamples
(int exNum, int domain_size) static void
static Pair<MarkovLogicNetwork,
FolSignature> SimpleExample
(int domain_size) static Pair<MarkovLogicNetwork,
FolSignature> SmokersExample
(int domain_size)
-
Constructor Details
-
MlnExample
public MlnExample()
-
-
Method Details
-
SmokersExample
public static Pair<MarkovLogicNetwork,FolSignature> SmokersExample(int domain_size) throws ParserException, IOException - Throws:
ParserException
IOException
-
ElephantZooExample
public static Pair<MarkovLogicNetwork,FolSignature> ElephantZooExample(int domain_size) throws ParserException, IOException - Throws:
ParserException
IOException
-
CommonColdExample
public static Pair<MarkovLogicNetwork,FolSignature> CommonColdExample(int domain_size) throws ParserException, IOException - Throws:
ParserException
IOException
-
SimpleExample
public static Pair<MarkovLogicNetwork,FolSignature> SimpleExample(int domain_size) throws ParserException, IOException - Throws:
ParserException
IOException
-
iterateExamples
public static Pair<MarkovLogicNetwork,FolSignature> iterateExamples(int exNum, int domain_size) throws ParserException, IOException - Throws:
ParserException
IOException
-
main
- Throws:
ParserException
IOException
-