Class LdoConjunction
java.lang.Object
org.tweetyproject.arg.dung.ldo.syntax.LdoFormula
org.tweetyproject.arg.dung.ldo.syntax.LdoAssociativeFormula
org.tweetyproject.arg.dung.ldo.syntax.LdoConjunction
- All Implemented Interfaces:
Iterable<LdoFormula>
,Collection<LdoFormula>
,List<LdoFormula>
,Formula
,AssociativeFormulaSupport.AssociativeSupportBridge
,AssociativeFormula<LdoFormula>
,ClassicalFormula
,Conjunctable
,Disjunctable
,Invertable
,ProbabilityAware
,SimpleLogicalFormula
This class represents a conjunction in ldo logic.
- Author:
- Matthias Thimm, Tim Janus
-
Constructor Summary
ConstructorDescriptionCreates a new (empty) conjunction.LdoConjunction
(Collection<? extends LdoFormula> formulas) Creates a new conjunction with the given inner formulas.LdoConjunction
(LdoFormula first, LdoFormula second) Creates a new conjunction with the two given formulae -
Method Summary
Methods inherited from class org.tweetyproject.arg.dung.ldo.syntax.LdoAssociativeFormula
add, add, add, addAll, addAll, clear, contains, containsAll, createEmptySignature, equals, get, getAtoms, getFormulas, getFormulas, getLiterals, getPredicates, getSignature, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toString
Methods inherited from class org.tweetyproject.arg.dung.ldo.syntax.LdoFormula
combineWithAnd, combineWithOr, complement, getDividers, getPredicateCls, getUniformProbability, isLiteral
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
replaceAll, sort, spliterator
Methods inherited from interface org.tweetyproject.logics.commons.syntax.interfaces.SimpleLogicalFormula
getPredicateCls, isLiteral
-
Constructor Details
-
LdoConjunction
Creates a new conjunction with the given inner formulas.- Parameters:
formulas
- a collection of formulas.
-
LdoConjunction
public LdoConjunction()Creates a new (empty) conjunction. -
LdoConjunction
Creates a new conjunction with the two given formulae- Parameters:
first
- a ldo formula.second
- a ldo formula.
-
-
Method Details
-
createEmptyFormula
- Returns:
- an empty version of the AssociativeFormula
-
getOperatorSymbol
- Returns:
- A String representing the operator which connects two items of the associative formula.
-
getEmptySymbol
- Returns:
- A String representing an empty version of the Associative Formula implementation
-
clone
Description copied from interface:SimpleLogicalFormula
Creates a deep copy of this formula- Specified by:
clone
in interfaceSimpleLogicalFormula
- Specified by:
clone
in classLdoFormula
- Returns:
- the cloned formula
-