");
out.print(" "); out.println(" "); out.print(javakate.userinterface.InterfaceProperties.showProba(listCbrCases.getSimilarity(index)*100) + "%"); out.println(" | ");
out.println(" ");
// mostrem el cas
for(int indexClass=0; indexClass < javakate.casuel.KModel.getNbClass(); indexClass++) {
javakate.casuel.KModelNode node = javakate.casuel.KModel.getNodeClass(indexClass);
for(int indexSlot =0; indexSlot < node.getChildCount(); indexSlot++) {
javakate.casuel.KModelNode slotNode = (javakate.casuel.KModelNode)node.getChildAt(indexSlot);
String slotId = slotNode.getId();
if(slotNode.isSlot()) {
// llegim el valor del cas
javakate.consultation.caseValue cValue = currentCase.getValue(slotId);
javakate.casuel.KValue kValue = cValue.getValue();
result = kValue.getName();
// llegim els valors del query
javakate.consultation.caseValue cValueRequest = casQuery.getValue(slotId);
javakate.casuel.KValue kValueRequest = cValueRequest.getValue();
resultRequest = kValueRequest.getName();
// comparar els diferents valors
if(resultRequest.equals("?") || resultRequest.equals(""))
out.print(" "); else {
if(result.equals(resultRequest))
out.print(" "); else
out.print(" "); }
if(!result.equals("?") && !result.equals(""))
out.print(" " + result + ","); else
out.print(""); out.println("");
}
}
}
out.println(" | ");
out.print(" | ");
out.println("
");
out.println("