Code covered by the BSD License  

Highlights from
MATLAB Contest - Flooding

image thumbnail
from MATLAB Contest - Flooding by The MATLAB Contest Team
All the files needed to develop and score an entry for the MATLABĀ® Programming Contest.

visualize(board,goal,solutionVector)
function score = visualize(board,goal,solutionVector)
solutionVector = validateSolutionVector(solutionVector, board);
boardToScore  = runSolutionVector(solutionVector, board, goal, true);
score = sum(boardToScore(:)) + sum(solutionVector);

Contact us at files@mathworks.com