All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ggp.base.util.assignments.AssignmentStrategy Maven / Gradle / Ivy

There is a newer version: 0.0.15
Show newest version
package org.ggp.base.util.assignments;

import java.util.List;

import org.ggp.base.util.gdl.grammar.GdlConstant;

/**
 * This is a subcomponent of a ComplexAssignmentIterationPlan.
 */
public interface AssignmentStrategy {
    public static final int NO_INDEX_REJECTED = -1;
    //Takes input variables
    //TODO: Consider making these lists or even arrays instead
    List getDependentIndices();
    List getDefinedIndices();

    //Results should be sorted in odometer order? Or sorted by receiver?
    List> getPartialAssignments(List inputs);
    //Last method returns empty list? Try this
    int getRejectedIndex(List inputs);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy