public static class MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings extends MetaObjectProfiSCTiDIM
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMKwDistCosine, MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings
MetaObjectProfiSCT.DatabaseKeywordClassifier, MetaObjectProfiSCT.DatabaseSupport, MetaObjectProfiSCT.MetaObjectProfiSCTKwDistCosine, MetaObjectProfiSCT.MetaObjectProfiSCTKwDistJaccard, MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings, MetaObjectProfiSCT.MultiWeightIgnoreProviderProfi, MetaObjectProfiSCT.ProfiSCTWeightedCosineDistanceFunction, MetaObjectProfiSCT.Rights, MetaObjectProfiSCT.Territory
LocalAbstractObject.DataEqualObject, LocalAbstractObject.TextStreamFactory<T extends LocalAbstractObject>, LocalAbstractObject.TrivialDistanceFunction
added, archiveID, attractiveness, colorLayout, colorStructure, defaultBinarySerializator, descriptorNames, edgeHistogram, KEYWORD_SPLIT_REGEXP, keyWords, keywordString, regionShape, rights, scalableColor, SEARCH_SPLIT_REGEXP, territories, TITLE_SPLIT_REGEXP, titleString
counterDistanceComputations, counterLowerBoundDistanceComputations, counterPrecomputedDistanceSavings, counterUpperBoundDistanceComputations, MAX_DISTANCE, MIN_DISTANCE, suppData, trivialDistanceFunction, UNKNOWN_DISTANCE
Modifier | Constructor and Description |
---|---|
protected |
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(BinaryInput input,
BinarySerializator serializator)
Creates a new instance of MetaObjectProfiSCTiDIMWithTKStrings loaded from binary input buffer.
|
|
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(MetaObjectProfiSCT object)
Creates a new instance of MetaObjectProfiSCTiDIMWithTKStrings from the given
MetaObjectProfiSCT . |
|
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(MetaObjectProfiSCT object,
boolean clearKeywords) |
|
MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(MetaObjectProfiSCT object,
java.lang.String titleString,
java.lang.String keywordString,
ObjectIntMultiVectorJaccard keyWords)
Creates a new instance of MetaObjectProfiSCTiDIMWithTKStrings from the given
MetaObjectProfiSCT . |
Modifier and Type | Method and Description |
---|---|
int |
binarySerialize(BinaryOutput output,
BinarySerializator serializator)
Binary-serialize this object into the
output . |
int |
getBinarySize(BinarySerializator serializator)
Returns the exact size of the binary-serialized version of this object in bytes.
|
clone, cloneRandomlyModify, getDistanceImpl, getMaxDistance, getWeights, wrapWithKwStringSerialization, wrapWithTitleOnlySerialization
containsTerritory, convertWordsToIdentifiers, dataEquals, dataHashCode, getAdded, getArchiveID, getAttractiveness, getKeywords, getKeyWords, getKeywordWords, getObject, getObjectCount, getObjectNames, getObjects, getRights, getSearchWords, getStringData, getStringData, getStringDataFields, getSupportedVisualDescriptorTypes, getTerritories, getTitle, getTitleWords, writeData
clearSurplusData, containsObject, createMetaDistancesHolder, createSearchMetaObject, fillMetaDistances, fillMetaDistances, getDistanceImpl, getObjectFromMap, getObjectMap, getSize, implementationGetDistance, readObject, readObject, readObjects, readObjects, readObjectsHeader, toString, writeObjects, writeObjectsHeader
clone, create, create, excludeUsingPrecompDist, getDistance, getDistance, getDistance, getDistanceFilter, getDistanceFilter, getDistanceFilter, getDistanceFilter, getDistanceLowerBound, getDistanceLowerBoundImpl, getDistanceStorePrecomputed, getDistanceStorePrecomputed, getDistanceStorePrecomputed, getDistanceUpperBound, getDistanceUpperBoundImpl, getFieldsForNames, getNormDistance, getPrecomputedDistance, getPrecomputedDistance, getRandomChar, getRandomNormal, chainDestroy, chainFilter, includeUsingPrecompDist, isDistanceCompatible, parseObjectComment, peekNextChar, readAttributesFromStream, readObjectComments, readObjectCommentsWithoutData, unchainFilter, write, write, writeAttributesToStream, writeObjectComment
clone, getLocatorURI, getNoDataObject, getObjectKey, getObjectKey, getObjectLocatorURI, setObjectKey
public MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(MetaObjectProfiSCT object)
MetaObjectProfiSCT
.
The locator, the attributes and the encapsulated objects from the source object
are
taken.object
- the source metaobject from which to get the datapublic MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(MetaObjectProfiSCT object, boolean clearKeywords)
public MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(MetaObjectProfiSCT object, java.lang.String titleString, java.lang.String keywordString, ObjectIntMultiVectorJaccard keyWords)
MetaObjectProfiSCT
.
The locator, the attributes and the encapsulated objects from the source object
are
copied. The key word identifiers object as well as the title and keyword strings are replaced by the given ones.object
- the source metaobject from which to get the datatitleString
- the title of this object as stringkeywordString
- the keywords of this object as stringkeyWords
- new value for the MetaObjectProfiSCT.keyWords
objectprotected MetaObjectProfiSCTiDIM.MetaObjectProfiSCTiDIMWithTKStrings(BinaryInput input, BinarySerializator serializator) throws java.io.IOException
input
- the buffer to read the MetaObjectProfiSCTWithTKStrings fromserializator
- the serializator used to write objectsjava.io.IOException
- if there was an I/O error reading from the bufferpublic int getBinarySize(BinarySerializator serializator)
LocalAbstractObject
getBinarySize
in interface BinarySerializable
getBinarySize
in class MetaObjectProfiSCT
serializator
- the serializator used to write objectspublic int binarySerialize(BinaryOutput output, BinarySerializator serializator) throws java.io.IOException
LocalAbstractObject
output
.binarySerialize
in interface BinarySerializable
binarySerialize
in class MetaObjectProfiSCT
output
- the output that this object is binary-serialized intoserializator
- the serializator used to write objectsjava.io.IOException
- if there was an I/O error during serialization