001package org.clafer.compiler; 002 003/** 004 * 005 * @author jimmy 006 */ 007public interface OptimalInstanceIterator extends InstanceIterator { 008 009 /** 010 * Returns the optimal values. The order of the values corresponds to the 011 * order of the objectives. 012 * 013 * @return the optimal value 014 * @exception IllegalStateException if no solution have been found yet 015 */ 016 int[] optimalValues(); 017}