public class OrLogicalType extends LogicalType
Java class for orLogicalType complex type.
<complexType name="orLogicalType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <sequence> <element name="termName" type="{http://www.ieee1855.org}circularTermType" maxOccurs="2" minOccurs="2"/> </sequence> <sequence> <choice> <element name="and" type="{http://www.ieee1855.org}andLogicalType"/> <element name="or" type="{http://www.ieee1855.org}orLogicalType"/> </choice> <element name="termName" type="{http://www.ieee1855.org}circularTermType"/> </sequence> </choice> <attribute name="t-conorm" type="{http://www.ieee1855.org}orMethodType" default="MAX" /> </restriction> </complexContent> </complexType>
Constructor and Description |
---|
OrLogicalType()
Default constructor
|
OrLogicalType(AndLogicalType term1,
AndLogicalType term2)
Or constructor using default tConorm = MAX
|
OrLogicalType(AndLogicalType term1,
OrLogicalType term2)
Or constructor using default tConorm = MAX
|
OrLogicalType(OrLogicalType term1,
AndLogicalType term2)
Or constructor using default tConorm = MAX
|
OrLogicalType(OrLogicalType term1,
OrLogicalType term2)
Or constructor using default tConorm = MAX
|
OrLogicalType(java.lang.String term1,
AndLogicalType term2)
Or constructor using default tConorm = MAX
|
OrLogicalType(java.lang.String tConorm,
AndLogicalType term1,
AndLogicalType term2)
Or constructor using tConorm as method for or operator
|
OrLogicalType(java.lang.String tConorm,
AndLogicalType term1,
OrLogicalType term2)
Or constructor using tConorm as method for or operator
|
OrLogicalType(java.lang.String term1,
OrLogicalType term2)
Or constructor using default tConorm = MAX
|
OrLogicalType(java.lang.String tConorm,
OrLogicalType term1,
AndLogicalType term2)
Or constructor using tConorm as method for or operator
|
OrLogicalType(java.lang.String tConorm,
OrLogicalType term1,
OrLogicalType term2)
Or constructor using tConorm as method for or operator
|
OrLogicalType(java.lang.String term1,
java.lang.String term2)
Or constructor using default tConorm = MAX
|
OrLogicalType(java.lang.String tConorm,
java.lang.String term1,
AndLogicalType term2)
Or constructor using tConorm as method for or operator
|
OrLogicalType(java.lang.String tConorm,
java.lang.String term1,
OrLogicalType term2)
Or constructor using tConorm as method for or operator
|
OrLogicalType(java.lang.String tConorm,
java.lang.String term1,
java.lang.String term2)
Or constructor using tConorm as method for or operator
|
Modifier and Type | Method and Description |
---|---|
java.util.List<javax.xml.bind.JAXBElement<?>> |
getContent()
Objects of the following type(s) are allowed in the list
JAXBElement < OrLogicalType >
JAXBElement < CircularTermType >
JAXBElement < AndLogicalType > |
java.lang.Object |
getContent(int i)
Gets the i-th element of the Aggregation
Both the element AND and the element OR contain two elements, clause or an element
AND followed by an element clause or an element OR followed by an element clause.
|
java.lang.String |
getOperator()
Get the method for operator AND / OR
|
java.lang.String |
getTConorm()
Gets the value of the property tConorm.
|
float |
operate(float x,
float y)
Gets the aggregation depending on the operator AND / OR
|
void |
setTConorm(java.lang.String value)
Sets the value of the property tConorm.
|
public OrLogicalType()
public OrLogicalType(java.lang.String term1, java.lang.String term2)
term1
- String
with the name of term1term2
- String
with the name of term2public OrLogicalType(java.lang.String term1, AndLogicalType term2)
term1
- String
with the name of term1term2
- AndLogicalType
term2public OrLogicalType(java.lang.String term1, OrLogicalType term2)
term1
- String
with the name of term1term2
- OrLogicalType
term2public OrLogicalType(AndLogicalType term1, AndLogicalType term2)
term1
- AndLogicalType
term1term2
- AndLogicalType
term2public OrLogicalType(AndLogicalType term1, OrLogicalType term2)
term1
- AndLogicalType
term1term2
- OrLogicalType
term2public OrLogicalType(OrLogicalType term1, AndLogicalType term2)
term1
- OrLogicalType
term1term2
- AndLogicalType
term2public OrLogicalType(OrLogicalType term1, OrLogicalType term2)
term1
- OrLogicalType
term1term2
- OrLogicalType
term2public OrLogicalType(java.lang.String tConorm, java.lang.String term1, java.lang.String term2)
tConorm
- String
with or operator StandardOrMethodType
term1
- String
with the name of term1term2
- String
with the name of term2public OrLogicalType(java.lang.String tConorm, java.lang.String term1, AndLogicalType term2)
tConorm
- String
with or operator StandardOrMethodType
term1
- String
with the name of term1term2
- AndLogicalType
term2public OrLogicalType(java.lang.String tConorm, java.lang.String term1, OrLogicalType term2)
tConorm
- String
with or operator StandardOrMethodType
term1
- String
with the name of term1term2
- OrLogicalType
term2public OrLogicalType(java.lang.String tConorm, AndLogicalType term1, AndLogicalType term2)
tConorm
- String
with or operator StandardOrMethodType
term1
- AndLogicalType
term1term2
- AndLogicalType
term2public OrLogicalType(java.lang.String tConorm, AndLogicalType term1, OrLogicalType term2)
tConorm
- String
with or operator StandardOrMethodType
term1
- AndLogicalType
term1term2
- OrLogicalType
term2public OrLogicalType(java.lang.String tConorm, OrLogicalType term1, AndLogicalType term2)
tConorm
- String
with or operator StandardOrMethodType
term1
- OrLogicalType
term1term2
- AndLogicalType
term2public OrLogicalType(java.lang.String tConorm, OrLogicalType term1, OrLogicalType term2)
tConorm
- String
with or operator StandardOrMethodType
term1
- OrLogicalType
term1term2
- OrLogicalType
term2public java.util.List<javax.xml.bind.JAXBElement<?>> getContent()
Objects of the following type(s) are allowed in the list
JAXBElement
<
OrLogicalType
>
JAXBElement
<
CircularTermType
>
JAXBElement
<
AndLogicalType
>
public java.lang.String getTConorm()
String
public void setTConorm(java.lang.String value)
value
- allowed object is
String
public java.lang.String getOperator()
LogicalType
getOperator
in class LogicalType
public java.lang.Object getContent(int i)
LogicalType
getContent
in class LogicalType
i
- 0=first element, 1=last elementpublic float operate(float x, float y)
LogicalType
operate
in class LogicalType
x
- value1y
- value2
- MAX for implementing the connector or with the maximum as defined from Equation (A.21);
- PROBOR for implementing the connector or with the probabilistic sum as defined from Equation (A.22);
- BSUM for implementing the operator or with the bounded sum as defined from Equation (A.23);
- DRS for implementing the operator or with the drastic sum as defined from Equation (A.24);
- ESUM for implementing the operator or with the Einstein sum as defined from Equation (A.25);
- HSUM for implementing the operator or with the Hamacher sum as defined from Equation (A.26);
- NILMAX for implementing the operator or with the Nilpotent maximum as defined from Equation (A.27);
- custom_\S* for a custom method for implementing the connector or.