package org.matheclipse.combinatoric;

public interface IStepVisitor {

	/**
	 * Get the current result of the combinatorics algorithm step.
	 * 
	 * @param result
	 * @return false if the combinatorics algorithm should stop
	 *         immediately; true otherwise.
	 */
	public abstract boolean visit(int[][] result);
 
	/**
	 * Get the current result of the combinatorics algorithm step.
	 * 
	 * @param result
	 * @return false if the combinatorics algorithm should stop
	 *         immediately; true otherwise.
	 */
	public abstract boolean visit(int[] result);
	
	/**
	 * Get the sorted multi-set array indices, which should be transformed.
	 * 
	 * @return
	 */
	public abstract int[] getMultisetArray();
}
 

Ads help maintain this website.