public class MatrixContext<G,M> extends MatrixRelation<G,M> implements Context<G,M>
Modifier and Type | Class and Description |
---|---|
static class |
MatrixContext.AutomaticMode |
static class |
MatrixContext.Incidence |
Relation.NoHomogenRelationException
matrix
colHeads, homogen, rowHeads
Constructor and Description |
---|
MatrixContext(boolean homogen) |
MatrixContext(boolean homogen,
MatrixContext.AutomaticMode automaticMode) |
MatrixContext(SetList<G> objects,
SetList<M> attributes,
boolean homogen) |
MatrixContext(SetList<G> objects,
SetList<M> attributes,
org.ujmp.core.booleanmatrix.BooleanMatrix matrix,
boolean homogen) |
MatrixContext(SetList<G> objects,
SetList<M> attributes,
org.ujmp.core.booleanmatrix.BooleanMatrix matrix,
boolean homogen,
MatrixContext.AutomaticMode automaticMode) |
MatrixContext(SetList<G> objects,
SetList<M> attributes,
boolean homogen,
MatrixContext.AutomaticMode automaticMode) |
_add, _col, _col, _colAnd, _colAnd, _colAnd, _contains, _flip, _remove, _row, _row, _rowAnd, _rowAnd, _rowAnd, add, addAll, addAllFast, addEventHandler, addFast, addFastSilent, col, colAnd, contains, containsAll, dispose, empty, fill, hasEventHandlers, hashCode, isAcyclic, isAlternative, isAntisymmetric, isAsymmetric, isAtransitive, isConnex, isCyclic, isEmpty, isFull, isIrreflexive, isLeftComparative, isNAcyclic, isNAtransitive, isNCyclic, isNegativAtransitive, isNegativeTransitive, isNTransitive, isQuasiconnex, isReflexive, isRightComparative, isSymmetric, isTransitive, iterator, matrix, neighborhood, order, push, pushAllChangedEvent, remove, removeAll, removeEventHandler, retainAll, rewriteMatrix, row, rowAnd, setContent, setMatrix, size, subRelation, toArray
checkHomogen, colAnd, colHeads, compareTo, equals, equivalenceClasses, filter, fromPredicate, fromPredicate, greater, greaterEq, isHomogen, rowAnd, rowHeads, smaller, smallerEq, uncomparable
finalize, getClass, 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, toArray
forEach, iterator, spliterator
equivalent, greater, greaterEq, smaller, smallerEq, uncomparable
compareTo
public final javafx.beans.property.StringProperty id
public MatrixContext<G,M> selection
public final SetList<Set<Integer>> _attributes
public final SetList<Set<Integer>> _irreducibleObjects
public final SetList<Set<Integer>> _irreducibleAttributes
public final com.google.common.base.Function<Iterable<Integer>,G> _firstObject
public final com.google.common.base.Function<Iterable<Integer>,M> _firstAttribute
public final GuavaIsomorphism<Set<Integer>,Set<G>> _allObjects
public final GuavaIsomorphism<Set<Integer>,Set<M>> _allAttributes
public final AbstractRelation<Set<G>,Set<M>> downArrows
public final AbstractRelation<G,M> DownArrows
public final AbstractRelation<G,M> UpArrows
public final AbstractRelation<G,M> DownPaths
public final AbstractRelation<G,M> UpPaths
public MatrixContext(boolean homogen)
public MatrixContext(SetList<G> objects, SetList<M> attributes, boolean homogen)
public MatrixContext(SetList<G> objects, SetList<M> attributes, org.ujmp.core.booleanmatrix.BooleanMatrix matrix, boolean homogen)
public MatrixContext(boolean homogen, MatrixContext.AutomaticMode automaticMode)
public MatrixContext(SetList<G> objects, SetList<M> attributes, boolean homogen, MatrixContext.AutomaticMode automaticMode)
public MatrixContext(SetList<G> objects, SetList<M> attributes, org.ujmp.core.booleanmatrix.BooleanMatrix matrix, boolean homogen, MatrixContext.AutomaticMode automaticMode)
public final void lock()
public final void unlock()
public void initHandlers(boolean selfSelecting, MatrixContext.AutomaticMode auto)
public final void select()
public final void clean()
public final void reduce()
public final Pair<MatrixContext.Incidence,MatrixContext.Incidence> getValue(G g, M m, boolean... withArrows)
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 final Relation<Integer,Integer> _objectEquivalence()
public final Relation<Integer,Integer> _attributeEquivalence()
public final Set<M> infimumIrreducibles()
public final Set<G> supremumIrreducibles()
public final Set<G> extent(Collection<?> objects)
public final Set<M> intent(Collection<?> attributes)
public final Collection<Integer> _extent(int... rowIndices)
public final Collection<Integer> _intent(int... columnIndices)
public final Collection<Integer> _extent(Iterable<Integer> rowIndices)
public final Collection<Integer> _intent(Iterable<Integer> columnIndices)
public final Collection<Integer> _extent(Collection<Integer> rowIndices, Collection<Integer> subRowIndices, Collection<Integer> subColumnIndices)
public final Collection<Integer> _intent(Collection<Integer> columnIndices, Collection<Integer> subRowIndices, Collection<Integer> subColumnIndices)
public final Concept<G,M> topConcept()
public final Concept<G,M> bottomConcept()
public final Concept<G,M> objectConcept(G g)
public final Concept<G,M> attributeConcept(M m)
public final void selectAttribute(M attribute)
public final void deselectAttribute(M attribute)
public final void selectAllAttributes()
public final void deselectAllAttributes()
public final Set<M> selectedAttributes()
public final void selectObject(G object)
public final void deselectObject(G object)
public final void selectAllObjects()
public final void deselectAllObjects()
public final Set<G> selectedObjects()
public final MatrixContext<G,M> getSelection()
getSelection
in interface Context<G,M>
public final Context<G,M> subRelation(Collection<?> objects, Collection<?> attributes)
subRelation
in interface Relation<G,M>
subRelation
in class MatrixRelation<G,M>
public final Context<G,M> complement()
public MatrixContext<G,M> clone()
public Set<M> getEquivalenceClass(M m)
public boolean isIrreducible(M m)
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.