public final class CategoricalStorage extends Object
Categorical Storage.
Modifier and Type | Method and Description |
---|---|
static CategoricalStorage |
create(CategoricalModel model)
Create a CategoricalStorage.
|
CategoricalStorage |
extend(CategoricalValue value,
boolean truth)
Extends truth value.
|
boolean |
get(CategoricalValue value)
Get truth value.
|
CategoricalStorage |
intersection(CategoricalStorage storage)
Intersection.
|
CategoricalStorage |
reduce(CategoricalValue value,
boolean truth)
Reduce truth value.
|
CategoricalStorage |
set(CategoricalValue value,
boolean truth)
Get truth value.
|
String |
toString()
Returns a String representation of this object.
|
CategoricalStorage |
union(CategoricalStorage storage)
Union.
|
public static CategoricalStorage create(CategoricalModel model)
Create a CategoricalStorage.
model
- Model of this storagepublic boolean get(CategoricalValue value)
Get truth value.
value
- Value to get the truth valuepublic CategoricalStorage set(CategoricalValue value, boolean truth)
Get truth value.
value
- Value to set the truth valuetruth
- truth value to be setpublic CategoricalStorage reduce(CategoricalValue value, boolean truth)
Reduce truth value.
value
- CategoricalValue to reducetruth
- truth valuepublic CategoricalStorage extend(CategoricalValue value, boolean truth)
Extends truth value.
value
- CategoricalValue to extendtruth
- truth valuepublic CategoricalStorage intersection(CategoricalStorage storage)
Intersection.
storage
- CategoricalStorageIllegalArgumentException
public CategoricalStorage union(CategoricalStorage storage)
Union.
storage
- CategoricalStorageIllegalArgumentException
Copyright © 2010–2016 The Galactic Organization. All rights reserved.