public static class MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings extends MetaObjectProfiSCT
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 |
MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings(BinaryInput input,
BinarySerializator serializator)
Creates a new instance of MetaObjectProfiSCTWithTKStrings loaded from binary input buffer.
|
|
MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings(MetaObjectProfiSCT object)
Creates a new instance of MetaObjectProfiSCTWithTKStrings from the given
MetaObjectProfiSCT . |
|
MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings(MetaObjectProfiSCT object,
java.lang.String titleString,
java.lang.String keywordString,
ObjectIntMultiVectorJaccard keyWords)
Creates a new instance of MetaObjectProfiSCTWithTKStrings 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, containsTerritory, convertWordsToIdentifiers, dataEquals, dataHashCode, getAdded, getArchiveID, getAttractiveness, getDistanceImpl, getKeywords, getKeyWords, getKeywordWords, getMaxDistance, getObject, getObjectCount, getObjectNames, getObjects, getRights, getSearchWords, getStringData, getStringData, getStringDataFields, getSupportedVisualDescriptorTypes, getTerritories, getTitle, getTitleWords, getWeights, 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 MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings(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 MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings(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 MetaObjectProfiSCT.MetaObjectProfiSCTWithTKStrings(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