Examples of reactToFineEvent()


Examples of solver.constraints.Propagator.reactToFineEvent()

        for (int p = 0; p < nbp; p++) {
            Propagator prop = variable.getPropagator(p);
            int pindice = variable.getIndexInPropagator(p);
            if (cause != prop && prop.isActive() && prop.advise(pindice, type.getMask())) {
                int aid = p2i.get(prop.getId());
                if (prop.reactToFineEvent()) {
                    boolean needSched = (eventmasks[aid][pindice] == 0);
                    eventmasks[aid][pindice] |= type.getStrengthenedMask();
                    if (needSched) {
                        //assert !event_f[aid].get(pindice);
                        if (Configuration.PRINT_SCHEDULE) {
View Full Code Here

Examples of solver.constraints.Propagator.reactToFineEvent()

        for (int p = nbp - 1; p >= 0; p--) {
            prop = vpropagators[p];
            pindice = vindices[p];
            if (cause != prop && prop.isActive() && prop.advise(pindice, type.getMask())) {
                int aid = p2i.get(prop.getId());
                if (prop.reactToFineEvent()) {
                    boolean needSched = (eventmasks[aid][pindice] == 0);
                    eventmasks[aid][pindice] |= type.getStrengthenedMask();
                    if (needSched) {
                        if (Configuration.PRINT_SCHEDULE) {
                            IPropagationEngine.Trace.printSchedule(prop);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.