info.mrupp.isoak1
Interface IVertexEdgeKernel


public interface IVertexEdgeKernel

Interface for vertex and edge subkernels. A vertex or edge subkernel can be evaluated on the i-th node/vertex of graph A and the j-th vertex/edge of graph B. It also has a name (for printing purposes).


Method Summary
 float eval(MolecularGraph molA, int i, MolecularGraph molB, int j)
          Evaluates the vertex/edge subkernel on two vertices/edges.
 java.lang.String name()
          Returns the name of the vertex/edge kernel.
 

Method Detail

eval

float eval(MolecularGraph molA,
           int i,
           MolecularGraph molB,
           int j)
Evaluates the vertex/edge subkernel on two vertices/edges.

Parameters:
molA - one of the two molecules involved.
i - the index of the vertex or edge in molA.
molB - the other molecule involved.
j - the index of the vertex or edge in molB.
Returns:
the evaluation result

name

java.lang.String name()
Returns the name of the vertex/edge kernel.