public class ContainsLinkService extends ClusterLinkService
For an evaluation to be true, it is required that subtract(value1 - value2) returns a result that is neither value1 or value2 and also that value1 is greater than or equal to value2. A positive result is a reply object with a data value of 1.0. A negative result is an empty reply object. See the problem solver package for other examples.
allData, clusterURIs, evalMetric, numberOfIterations
allDatasets, dataObj, dataType, mathCompare, mathOpMethod, rnd
Constructor and Description |
---|
ContainsLinkService()
Create a new instance of ContainsLinkService.
|
ContainsLinkService(java.lang.String thisPassword,
java.lang.String thisAdminKey)
Creates a new instance of ContainsLinkService.
|
ContainsLinkService(java.lang.String thisPassword,
java.lang.String thisAdminKey,
org.licas_xml.abs.Element adminXml)
Creates a new instance of ContainsLinkService.
|
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 ContainsLinkService() throws java.lang.Exception
java.lang.Exception
- any error.public ContainsLinkService(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 ContainsLinkService(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.