Class FolFluentName
java.lang.Object
org.tweetyproject.logics.commons.syntax.TypedStructureAdapter
org.tweetyproject.logics.commons.syntax.Predicate
org.tweetyproject.action.signature.FolFluentName
- All Implemented Interfaces:
Comparable<TypedStructureAdapter>
,TypedStructure
This class represents a fluent name. It is implemented as a fol predicate to
allow for easy grounding of action descriptions.
- Author:
- Sebastian Homann
-
Constructor Summary
ConstructorDescriptionFolFluentName
(String name) Creates a new folfluentname predicate with the given name and zero-arity.FolFluentName
(String name, int arity) Creates a new folfluentname with the given name and arity.FolFluentName
(String name, List<Sort> arguments) Creates a new fluentname predicate with the given name and a list of argument sorts, whose element count equals the arity of this predicate. -
Method Summary
Methods inherited from class org.tweetyproject.logics.commons.syntax.Predicate
clone, equals, hashCode
Methods inherited from class org.tweetyproject.logics.commons.syntax.TypedStructureAdapter
addArgumentType, compareTo, getArgumentTypes, getArity, getName, isComplete, isTyped, removeArgumentType, removeArgumentType, setName
-
Constructor Details
-
FolFluentName
Creates a new folfluentname with the given name and arity.- Parameters:
name
- the name of this fluent namearity
- the number of arguments of this fluent name
-
FolFluentName
Creates a new fluentname predicate with the given name and a list of argument sorts, whose element count equals the arity of this predicate. These arguments are used for grounding.- Parameters:
name
- the name of this fluent namearguments
- a list of arguments
-
FolFluentName
Creates a new folfluentname predicate with the given name and zero-arity.- Parameters:
name
- the name of this fluent name
-
-
Method Details
-
toString
- Overrides:
toString
in classTypedStructureAdapter
-