Skip to main content

Advertisement

Table 2 Complex/application level querying methods implemented in libKiSAO

From: LibKiSAO: a Java library for Querying KiSAO

Method name Description
 Querying for Algorithm Characteristics
getCharacteristics(algorithm, optional type(s)) Returns characteristics of the specified algorithm. An optional
  type(s) parameter filters the returned characteristic set by
  their type(s)
hasCharacteristic(algorithm, characteristic(s)) Checks if the specified algorithm possesses the specified
  characteristic(s)
 Looking for Similar Algorithms
getAlgorithmsByCharacteristic  
(characteristic(s)) Returns algorithms which possess specified characteristic(s)
getAlgorithmsWithSameCharacteristics  
(algorithm, optional type(s)) Returns algorithms having the same characteristics as the
  specified one. An optional type(s) parameter specifies which
  types of characteristics should be considered. By default,
  all the characteristics are considered
getNMostSimilarAlgorithms(algorithm, n,  
optional type(s)) Returns n algorithms which are most similar to the specified
  one, sorted by the distance in the hierarchy tree. An
  optional type(s) parameter specifies which types of
  characteristics should be considered when looking for
  similar algorithms. By default, all the characteristics
  are considered
getAlgorithmsByQuery(query) Returns algorithms described by the specified query
 Querying for Algorithm Parameters
getParameters(algorithm) Returns parameters that are used by the specified algorithm
getParametersByCharacteristic(characteristic(s)) Returns parameters that are used by the algorithms with the
  specified characteristic(s)
hasParameter(characteristics, parameter(s)) Checks if the algorithm described by its characteristics uses
  the specified parameter(s)
getParametersByAncestorAndCharacteristic  
(ancestor, characteristic(s)) Returns a set of parameters that are used by the algorithms
  with the specified characteristic(s) and ancestor
hasParameter(algorithm, parameter(s)) Checks if the specified algorithm uses the specified
  parameter(s)
getParameterType(parameter) Returns the type of the specified parameter
 Querying for Inter-algorithm Relationships
isHybrid(algorithm) Checks whether the specified algorithm is a hybrid one
getHybridOf(algorithm) Returns collection of the algorithms the specified one is a
  hybrid of
  1. The table lists the methods implemented in libKiSAO which enable querying the complex/application level of KiSAO.