public class CompleteLinkService extends ClusterLinkService
If there is no overlap in the datasets, a zero result is returned, meaning that
no clustering is possible. A Euclidean
distance metric is used to measure closeness.
This service then tries to link its parent service with all other ones that are part
of the linked set, or cluster group.
clusterURIs, evalMetric, numberOfIterations
allDatasets, dataObj, dataType, mathCompare, mathOpMethod, rnd
Constructor and Description |
---|
CompleteLinkService()
Create a new instance of CompleteLinkService.
|
CompleteLinkService(java.lang.String thisPassword,
java.lang.String thisAdminKey)
Creates a new instance of CompleteLinkService.
|
CompleteLinkService(java.lang.String thisPassword,
java.lang.String thisAdminKey,
org.licas_xml.abs.Element adminXml)
Creates a new instance of CompleteLinkService.
|
Modifier and Type | Method and Description |
---|---|
org.licas_xml.abs.Element |
evaluate(org.licas.data.DataQuery dataInfo)
Evaluate the behaviour, process, or action.
|
alreadyLinkedTo, getMetricType, iterationsOK, resetValues
createEvaluateData, getData, getDataType, getInstanceValue, sendInfoXML, setData, setDataType, setGenData, setInstanceValues, setLocalDataset, setSerializeValues
addCommunicationID, addDefaultService, addDefaultService, addDefaultService, addDefaultService, addLinkFromService, addLinkToService, addMessageMetrics, addService, addService, addService, addService, addServiceAssociation, addServicePassword, addTempPassword, allowAddService, canAccess, canAccess, canAccess, canAccess, canAccess, canAccessMeta, canAccessNested, canAccessTemp, clearServices, clearServices, createMetaForRepos, createMetaFull, createPermanentLinkTo, createServiceWrapper, defaultAdminToRemove, dynamicLinksToPermanent, dynamicLinksToXml, dynamicLinksToXml, execute, finaliseInitialisation, finaliseInitialisation, finaliseThisConfig, finalize, GET, getAllLinkToService, getAllowAddService, getAutonomicManagerConfig, getDescription, getFullPath, getIsRemoteCall, getJarFile, getLinkFromService, getLinkToService, getLocalRemoteKey, getParent, getPassword, getPassword, getPassword, getPassword, getPublicMethods, getPublicServiceClassname, getServerPassword, getService, getService, getServiceAdmin, getServiceClasses, getServiceGrade, getServiceNames, getServiceNames, getServiceNames, getServiceOrWrapper, getServicePassword, getServiceState, getServiceType, getServiceType, getServiceTypes, getShutDown, getUUID, handshake, hasCommunicationID, hasLinkTo, hasService, hasServiceType, interrupt, interrupt, isAdminKey, isCorrectPassword, isPublicMethod, linksToXml, loadObject, messageRetrieve, messageStore, messageTransit, passwordsStateToXml, permanentLinksToXml, removeAllLinksTo, removeAllServices, removeAllServices, removeCommunicationID, removeLinkFromService, removeLinkToService, removePermanentLinkTo, removeService, removeService, removeService, removeServiceAssociation, removeTempPassword, serviceNegotiate, serviceToXml, serviceToXml, setAdminInfo, setCanAccessMeta, setCanAccessNested, setData, setDescription, setIsRemoteCall, setJarFile, setOtherMeta, setParent, setServerPassword, setServiceType, setShutDown, setUUID, startAllThreads, startThread, stopAllThreads, threadAliveState, xmlToDynamicLinks, xmlToService
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public CompleteLinkService() throws java.lang.Exception
java.lang.Exception
- any error.public CompleteLinkService(java.lang.String thisPassword, java.lang.String thisAdminKey) throws java.lang.Exception
thisPassword
- the component password.thisAdminKey
- the unique service key.java.lang.Exception
- any error.public CompleteLinkService(java.lang.String thisPassword, java.lang.String thisAdminKey, org.licas_xml.abs.Element adminXml) throws java.lang.Exception
thisPassword
- the component password.thisAdminKey
- the unique service key.adminXml
- the admin info or description of this service.java.lang.Exception
- any error.public org.licas_xml.abs.Element evaluate(org.licas.data.DataQuery dataInfo) throws java.lang.Exception
evaluate
in interface org.licas.def.evaluate.EvaluateServiceDef
evaluate
in class org.licas.service.sci.DataService
dataInfo
- initialisation dataInfo for the evaluator.java.lang.Exception
- and error.