public abstract class AbstractContext<G,M> extends AbstractRelation<G,M> implements Context<G,M>
Relation.NoHomogenRelationException
colHeads, homogen, rowHeads
Modifier | Constructor and Description |
---|---|
protected |
AbstractContext(SetList<G> objects,
SetList<M> attributes,
boolean homogen) |
Modifier and Type | Method and Description |
---|---|
Relation<M,M> |
attributeQuasiOrder() |
MatrixContext<G,M> |
clone() |
Set<G> |
extent(Collection<?> objects) |
Set<G> |
extent(Object... objects) |
static <G> AbstractContext<G,G> |
fromPredicate(SetList<G> objects,
BiPredicate<G,G> predicate) |
static <G,M> AbstractContext<G,M> |
fromPredicate(SetList<G> objects,
SetList<M> attributes,
BiPredicate<G,M> predicate) |
AbstractContext<G,M> |
getSelection() |
Set<M> |
intent(Collection<?> attributes) |
Set<M> |
intent(Object... attributes) |
Relation<G,G> |
objectQuasiOrder() |
add, addAll, addAllFast, addFast, checkHomogen, col, colAnd, colAnd, colHeads, compareTo, contains, containsAll, dispose, empty, equals, equivalenceClasses, fill, filter, fromPredicate, fromPredicate, greater, greaterEq, isEmpty, isFull, isHomogen, iterator, neighborhood, order, remove, removeAll, retainAll, row, rowAnd, rowAnd, rowHeads, size, smaller, smallerEq, subRelation, toArray, toString, uncomparable
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
has, models, models, toMatrixContext
add, addAll, addAllFast, addFast, col, colAnd, colAnd, colHeads, contains, containsAll, density, dispose, empty, equivalenceClasses, fill, filter, isEmpty, isFull, isHomogen, neighborhood, order, remove, removeAll, retainAll, row, rowAnd, rowAnd, rowHeads, size, subRelation, toArray
forEach, iterator, spliterator
equivalent, greater, greaterEq, smaller, smallerEq, uncomparable
compareTo
protected AbstractContext(SetList<G> objects, SetList<M> attributes, boolean homogen)
public static <G,M> AbstractContext<G,M> fromPredicate(SetList<G> objects, SetList<M> attributes, BiPredicate<G,M> predicate)
public static <G> AbstractContext<G,G> fromPredicate(SetList<G> objects, BiPredicate<G,G> predicate)
public Set<M> intent(Collection<?> attributes)
public final Relation<G,G> objectQuasiOrder()
objectQuasiOrder
in interface Context<G,M>
public final Relation<M,M> attributeQuasiOrder()
attributeQuasiOrder
in interface Context<G,M>
public MatrixContext<G,M> clone()
public final AbstractContext<G,M> getSelection()
getSelection
in interface Context<G,M>
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.