package com.github.jesg.dither;

/*
 * #%L
 * dither
 * %%
 * Copyright (C) 2015 Jason Gowan
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */

public class Dither {

    public static Object[][] ipog(final int t, final Object[][] params)
            throws DitherError {
        return new IPOG(params, t).run();
    }
}

@@ -755,16 +755,47 @@
 %5D params
+, final Integer%5B%5D%5B%5D constraints
 )%0A      
@@ -854,16 +854,370 @@
 arams, t
+, constraints).run();%0A    %7D%0A    %0A    public static Object%5B%5D%5B%5D ipog(final int t, final Object%5B%5D%5B%5D params)%0A            throws DitherError %7B%0A        return new IPOG(params, t, new Integer%5B%5D%5B%5D%7B%7D).run();%0A    %7D%0A    %0A    public static Object%5B%5D%5B%5D ipog(final Object%5B%5D%5B%5D params)%0A            throws DitherError %7B%0A        return new IPOG(params, 2, new Integer%5B%5D%5B%5D%7B%7D
 ).run();

add methods to public api