public final class FCALibContext<G,M> extends de.tudresden.inf.tcs.fcalib.AbstractContext<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
Constructor and Description |
---|
FCALibContext(MatrixContext<G,M> cxt) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAttributeToObject(M attribute,
G id) |
boolean |
addObject(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> e) |
Set<M> |
doublePrime(Set<M> x) |
protected boolean |
followsFromBackgroundKnowledge(de.tudresden.inf.tcs.fcaapi.FCAImplication<M> implication) |
Set<de.tudresden.inf.tcs.fcaapi.FCAImplication<M>> |
getDuquenneGuiguesBase() |
de.tudresden.inf.tcs.fcaapi.Expert<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>> |
getExpert() |
de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> |
getObject(G id) |
de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> |
getObjectAtIndex(int index) |
de.tudresden.inf.tcs.fcaapi.utils.IndexedSet<de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>> |
getObjects() |
Set<de.tudresden.inf.tcs.fcaapi.FCAImplication<M>> |
getStemBase() |
boolean |
isCounterExampleValid(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> counterExample,
de.tudresden.inf.tcs.fcaapi.FCAImplication<M> imp) |
boolean |
objectHasAttribute(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> object,
M attribute) |
boolean |
refutes(de.tudresden.inf.tcs.fcaapi.FCAImplication<M> imp) |
boolean |
removeObject(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> object) |
boolean |
removeObject(G id) |
void |
setExpert(de.tudresden.inf.tcs.fcaapi.Expert<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>> e) |
addAttribute, addAttributes, addObjects, clearObjects, containsObject, continueExploration, expertPerformedAction, explorationFinished, getAttributeAtIndex, getAttributeCount, getAttributes, getCurrentQuestion, getImplications, getNextPremise, getObjectCount, initializeExploration, isExpertSet, setCurrentQuestion
public FCALibContext(MatrixContext<G,M> cxt)
public de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> getObjectAtIndex(int index)
public boolean objectHasAttribute(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> object, M attribute)
public Set<de.tudresden.inf.tcs.fcaapi.FCAImplication<M>> getDuquenneGuiguesBase()
public de.tudresden.inf.tcs.fcaapi.Expert<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>> getExpert()
public void setExpert(de.tudresden.inf.tcs.fcaapi.Expert<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>> e)
public de.tudresden.inf.tcs.fcaapi.utils.IndexedSet<de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>> getObjects()
public boolean addObject(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> e) throws de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
addObject
in interface de.tudresden.inf.tcs.fcaapi.Context<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
addObject
in class de.tudresden.inf.tcs.fcalib.AbstractContext<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
public boolean removeObject(G id) throws de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
removeObject
in interface de.tudresden.inf.tcs.fcaapi.Context<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
removeObject
in class de.tudresden.inf.tcs.fcalib.AbstractContext<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
public boolean removeObject(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> object) throws de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
removeObject
in interface de.tudresden.inf.tcs.fcaapi.Context<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
removeObject
in class de.tudresden.inf.tcs.fcalib.AbstractContext<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
public boolean addAttributeToObject(M attribute, G id) throws de.tudresden.inf.tcs.fcaapi.exception.IllegalAttributeException, de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
addAttributeToObject
in interface de.tudresden.inf.tcs.fcaapi.Context<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
addAttributeToObject
in class de.tudresden.inf.tcs.fcalib.AbstractContext<M,G,de.tudresden.inf.tcs.fcaapi.FCAObject<M,G>>
de.tudresden.inf.tcs.fcaapi.exception.IllegalAttributeException
de.tudresden.inf.tcs.fcaapi.exception.IllegalObjectException
public Set<M> doublePrime(Set<M> x)
public Set<de.tudresden.inf.tcs.fcaapi.FCAImplication<M>> getStemBase()
public boolean isCounterExampleValid(de.tudresden.inf.tcs.fcaapi.FCAObject<M,G> counterExample, de.tudresden.inf.tcs.fcaapi.FCAImplication<M> imp)
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.