|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectfleXplorer.MaterializedFacetedTaxonomies.MFT
fleXplorer.MaterializedFacetedTaxonomies.MFT_MEM
public class MFT_MEM
Constructor Summary | |
---|---|
MFT_MEM()
Constructs a Materialized Faceted taxonomy. |
|
MFT_MEM(java.lang.String name,
Counters computationOfZP,
ObjectFacet of)
Constructs a Materialized Faceted Taxonomy with the specified name and option for computation of zoom-in points. |
|
MFT_MEM(java.lang.String name,
FT ft,
Counters computationOfZP,
ObjectFacet of)
Constructs a Materialized Faceted Taxonomy with specified name and Faceted Taxonomy. |
Method Summary | |
---|---|
void |
computeLegalIds()
Computes the legal ids according the focus. |
void |
cumputeZoomInPoints()
Compute the new zoom-in points according the focus. |
static MFT_MEM |
read(java.io.File file)
Reads and returns the materialized faceted taxonomy of the specific file |
boolean |
setFocus(java.util.HashSet<java.lang.Integer> objIds)
Defines the focus with respect to the objects. |
java.lang.String |
setFocus(java.lang.String expr)
Sets the focus. |
java.lang.String |
setFocus(java.lang.String facet,
java.lang.String expr)
Sets the focus for a specific facet. |
java.lang.String |
setFocusWithIds(java.lang.String facet,
java.lang.String exprWithIds)
Sets the focus for a specific facet, the expression contains the ids of the terms and not the names. |
java.lang.String |
setPaths(java.lang.String facet,
java.lang.String exprWithIds)
Gets the id of a term and returns the path. |
static void |
write(MFT_MEM mft,
java.io.File file)
Writes the materialized faceted taxonomy to specific file. |
Methods inherited from class fleXplorer.MaterializedFacetedTaxonomies.MFT |
---|
addObjectDescription, addObjectToFacet, addToLegalIds, changeFacetTaxonomy, getAllObjects, getAllObjects, getDescriptionOfFocus, getFacetDescription, getFacetDescriptionWithIds, getFT, getGeneralDescription, getGeneralDescriptionWithNames, getLegalIds, getMFTName, getNumOfLegalIdsOfTerm, getZoomInPoints, getZoomInPointsNoCount, getZoomSidePoints, isCountersEnabled, printDescriptions, printFacetedTree, printObjectsPerFacet, printZoomPoints, removeAllOtherIndexes, setCounters, setFT, setMFTName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MFT_MEM()
public MFT_MEM(java.lang.String name, Counters computationOfZP, ObjectFacet of)
name
- the name of Materialized Faceted Taxonomy.computationOfZP
- defines if it will compute the counters of zoom-in points.of
- defines if the user can interact with the facet By Objectspublic MFT_MEM(java.lang.String name, FT ft, Counters computationOfZP, ObjectFacet of)
name
- the name of Materialized Faceted Taxonomy.ft
- the Faceted Taxonomy of Materialized Faceted Taxonomy.computationOfZP
- defines if it will compute the counters of zoom-in points.of
- defines if the user can interact with the facet By ObjectsMethod Detail |
---|
public static void write(MFT_MEM mft, java.io.File file) throws java.io.IOException
mft
- the materialized faceted taxonomy.file
- the file
java.io.IOException
public static MFT_MEM read(java.io.File file) throws java.io.IOException, java.lang.ClassNotFoundException
file
- the file
java.io.IOException
java.lang.ClassNotFoundException
public void computeLegalIds()
public java.lang.String setFocus(java.lang.String expr)
expr
- the focus
public java.lang.String setPaths(java.lang.String facet, java.lang.String exprWithIds)
exprWithIds
- the id of the term
public boolean setFocus(java.util.HashSet<java.lang.Integer> objIds)
objIds
- The ids of the objects that belong to the focus.
public java.lang.String setFocus(java.lang.String facet, java.lang.String expr)
facet
- the name of the facetexpr
- the focus
public java.lang.String setFocusWithIds(java.lang.String facet, java.lang.String exprWithIds)
facet
- the name of the facetexprWithIds
- the focus
public void cumputeZoomInPoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |