public String evaluate(Associator associator,Instances data) throws Exception {
  long startTime;
  long endTime;
  startTime=System.currentTimeMillis();
  associator.buildAssociations(data);
  endTime=System.currentTimeMillis();
  m_Result=new StringBuffer(associator.toString());
  m_Result.append("\n=== Evaluation ===\n\n");
  m_Result.append("Elapsed time: " + (((double)(endTime - startTime)) / 1000) + "s");
  m_Result.append("\n");
  return m_Result.toString();
}

public String evaluate ( Associator associator , Instances data ) throws Exception { long startTime ; long endTime ; startTime = System . currentTimeMillis ( ) ; associator . buildAssociations ( data ) ; endTime = System . currentTimeMillis ( ) ; m_Result = new StringBuffer ( associator . toString ( ) ) ; m_Result . append ( "\n=== Evaluation ===\n\n" ) ; m_Result . append ( "Elapsed time: " + ( ( ( double ) ( endTime - startTime ) ) / 1000 ) + "s" ) ; m_Result . append ( "\n" ) ; return m_Result . toString ( ) ; }
evaluates the associator with the given commandline options and returns the evaluation string .
