Package net.sf.tweety.logics.pl.syntax
Class PlPredicate
- java.lang.Object
-
- net.sf.tweety.logics.commons.syntax.TypedStructureAdapter
-
- net.sf.tweety.logics.commons.syntax.Predicate
-
- net.sf.tweety.logics.pl.syntax.PlPredicate
-
- All Implemented Interfaces:
Comparable<net.sf.tweety.logics.commons.syntax.TypedStructureAdapter>,net.sf.tweety.logics.commons.syntax.interfaces.TypedStructure
public class PlPredicate extends net.sf.tweety.logics.commons.syntax.PredicateA specialized predicate for propositional logic that only allows an identifier but has no arguments and therefore has an arity of zero.- Author:
- Tim Janus
-
-
Constructor Summary
Constructors Constructor Description PlPredicate()Default-Ctor for dynamic instantiationPlPredicate(String name)Ctor: Creates a new propositional predicate with the given name.
-
Method Summary
Modifier and Type Method Description voidaddArgumentType(net.sf.tweety.logics.commons.syntax.Sort argType)PlPredicateclone()
-
-
-
Constructor Detail
-
PlPredicate
public PlPredicate()
Default-Ctor for dynamic instantiation
-
PlPredicate
public PlPredicate(String name)
Ctor: Creates a new propositional predicate with the given name.- Parameters:
name- The name of the predicate
-
-
Method Detail
-
addArgumentType
public void addArgumentType(net.sf.tweety.logics.commons.syntax.Sort argType)
- Specified by:
addArgumentTypein interfacenet.sf.tweety.logics.commons.syntax.interfaces.TypedStructure- Overrides:
addArgumentTypein classnet.sf.tweety.logics.commons.syntax.TypedStructureAdapter
-
clone
public PlPredicate clone()
- Specified by:
clonein interfacenet.sf.tweety.logics.commons.syntax.interfaces.TypedStructure- Overrides:
clonein classnet.sf.tweety.logics.commons.syntax.Predicate
-
-