leaf-analysis/src/simulation/CSPIntentions.java
/**
	 * Returns the evaluation array which is an array of length 4 which represents
	 * the evalValue
	 * @param evalValue
	 * evalValue of interest
	 * @return
	 * returns the evaluation array
	 */
Returns the evaluation array which is an array of length 4 which represents
the evalValue
@param evalValue
evalValue of interest
@return
returns the evaluation array
Returns the evaluation array which is an array of length 4 which represents the evalValue @param evalValue evalValue of interest @return returns the evaluation array
public static boolean[] convertEvalStringToEvidencePredicates(String evalValue) {
		if (evalValue.matches("[01]+") && evalValue.length() == 4) {
			boolean[] res = new boolean[4];
			for (int i = 0; i < 4; i++) {
				res[i] = (evalValue.charAt(i) == '1');
			}
			return res;
		} else if (evalValue.equals("(no value)")) 
			return null;
		throw new RuntimeException("CSPIntentions: Invalid value " + evalValue + " in getEvaluationArray ");
	}
public static boolean [ ] convertEvalStringToEvidencePredicates ( String evalValue ) { if ( evalValue . matches ( "[01]+" ) && evalValue . length ( ) == 4 ) { boolean [ ] res = new boolean [ 4 ] ; for ( int i = 0 ; i < 4 ; i ++ ) { res [ i ] = ( evalValue . charAt ( i ) == '1' ) ; } return res ; } else if ( evalValue . equals ( "(no value)" ) ) return null ; throw new RuntimeException ( "CSPIntentions: Invalid value " + evalValue + " in getEvaluationArray " ) ; }
Returns the evaluation array which is an array of length 4 which represents
 the evalValue
 @param evalValue
 evalValue of interest
 @return
 returns the evaluation array
Returns the evaluation array which is an array of length 4 which represents the evalValue @param evalValue evalValue of interest @return returns the evaluation array