Constructor and Description |
---|
Contexts() |
Modifier and Type | Method and Description |
---|---|
static void |
extractAttributeSubcontextFamily(File input,
File output,
int steps) |
static void |
extractFast(File input,
File output,
int steps) |
static void |
extractSubcontext(File input,
File output,
int objs,
int atts) |
static <G,M> Map<Set<M>,Set<M>> |
pseudoIntents(MatrixContext<G,M> cxt)
computes all pseudo-intents of a
MatrixContext . |
static MatrixContext<Integer,Integer> |
randomWithDensity(int objects,
int attributes,
int density) |
static MatrixContext<Integer,Integer> |
randomWithProbability(int objects,
int attributes,
int probability) |
public Contexts()
public static final MatrixContext<Integer,Integer> randomWithDensity(int objects, int attributes, int density)
public static final MatrixContext<Integer,Integer> randomWithProbability(int objects, int attributes, int probability)
public static final <G,M> Map<Set<M>,Set<M>> pseudoIntents(MatrixContext<G,M> cxt)
MatrixContext
. This method may be slow, it is only intended for testing
purposes.
Definition: For a given context (G,M,I)
a pseudo-intent is a subset B
of the codomain
M
, such that it is no intent (i.e. B≠B''
) and furthermore each strictly smaller pseudo-intent
D⊊B
has its closure in B
(i.e. D''⊆B
).cxt
- MatrixContext
Map
whose keys are all pseudo-intents and their intents as valuespublic static final void extractFast(File input, File output, int steps) throws Exception
Exception
public static final void extractAttributeSubcontextFamily(File input, File output, int steps) throws Exception
Exception
public static final void extractSubcontext(File input, File output, int objs, int atts) throws Exception
Exception
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.