String q = elem.getAttribute(ELEM_KINDS.ATTR_Q.name()), r = elem.getAttribute(ELEM_KINDS.ATTR_R.name()),
score=elem.getAttribute(ELEM_KINDS.ATTR_SCORE.name()), otherscore = elem.getAttribute(ELEM_KINDS.ATTR_OTHERSCORE.name());
int scoreInt = -1, otherScoreInt = -1;
try { scoreInt = Integer.valueOf(score); } catch(NumberFormatException ex) { statechum.Helper.throwUnchecked("failed to read a score in a pair", ex); }
try { otherScoreInt = Integer.valueOf(otherscore); } catch(NumberFormatException ex) { statechum.Helper.throwUnchecked("failed to read a anotherscore in a pair", ex); }
PairScore result = null;
synchronized(computeStateScores.syncObj)
{
result = new PairScore(
new DeterministicDirectedSparseGraph.DeterministicVertex(q),
new DeterministicDirectedSparseGraph.DeterministicVertex(r),
//RPNIBlueFringeLearner.findVertex(JUConstants.LABEL,q,graph),
//RPNIBlueFringeLearner.findVertex(JUConstants.LABEL,r,graph),
scoreInt,otherScoreInt);