Package ptolemy.actor.util

Examples of ptolemy.actor.util.TotallyOrderedSet.first()


        TotallyOrderedSet breakpoints = getBreakPoints();
        if ((breakpoints != null) && !breakpoints.isEmpty()) {
            if (_debugging && _verbose) {
                _debug("The first breakpoint in the breakpoint list is at "
                        + breakpoints.first());
            }

            // NOTE: the breakpoint table is not changed.
            Time nextBreakpoint = ((Time) breakpoints.first());
            double maximAllowedStepSize = nextBreakpoint.subtract(
View Full Code Here


                _debug("The first breakpoint in the breakpoint list is at "
                        + breakpoints.first());
            }

            // NOTE: the breakpoint table is not changed.
            Time nextBreakpoint = ((Time) breakpoints.first());
            double maximAllowedStepSize = nextBreakpoint.subtract(
                    getModelTime()).getDoubleValue();

            if (maximAllowedStepSize < refinedStepSize) {
                refinedStepSize = maximAllowedStepSize;
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.