| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (11.0.8) on Mon Nov 30 13:15:36 CET 2020 --> |
| <title>AmaltheaServices</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| <meta name="dc.created" content="2020-11-30"> |
| <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.app4mc.amalthea.model</div> |
| <h2 title="Class AmaltheaServices" class="title">Class AmaltheaServices</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>AmaltheaServices</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">AmaltheaServices</span> |
| extends Object</pre> |
| <div class="block">This class provides static methods that implement operations of the Amalthea |
| EMF model. |
| <p> |
| The methods are called from several generated model objects.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Field</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static List<TimeUnit></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#TIME_UNIT_LIST">TIME_UNIT_LIST</a></span></code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static @NonNull Time</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)">addTime</a></span>​(@NonNull Time t1, |
| @NonNull Time t2)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static @NonNull Time</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adjustTimeUnit(org.eclipse.app4mc.amalthea.model.Time)">adjustTimeUnit</a></span>​(@NonNull Time time)</code></th> |
| <td class="colLast"> |
| <div class="block">This method takes a time (in value and unit) and adjusts the TimeUnit so that |
| the value is as small as possible, without losing precision e.g. 1000us is |
| converted to 1ms</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#compareDataRates(org.eclipse.app4mc.amalthea.model.DataRate,org.eclipse.app4mc.amalthea.model.DataRate)">compareDataRates</a></span>​(@NonNull DataRate r1, |
| @NonNull DataRate r2)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is used to compare DataRate objects on the basis of their values |
| (obtained in bit per second after applying the conversion based on DataRateUnit)</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#compareTimes(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)">compareTimes</a></span>​(@NonNull Time t1, |
| @NonNull Time t2)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is used to compare Time objects on the basis of their values |
| (obtained in pico seconds after applying the conversion based on TimeUnit)</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static BigInteger</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertToBit(org.eclipse.app4mc.amalthea.model.DataSize)">convertToBit</a></span>​(@NonNull DataSize size)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static BigInteger</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertToBitPerSecond(org.eclipse.app4mc.amalthea.model.DataRate)">convertToBitPerSecond</a></span>​(@NonNull DataRate rate)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static BigDecimal</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertToHertz(org.eclipse.app4mc.amalthea.model.Frequency)">convertToHertz</a></span>​(@NonNull Frequency frequency)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static BigDecimal</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertToMicroVolt(org.eclipse.app4mc.amalthea.model.Voltage)">convertToMicroVolt</a></span>​(@NonNull Voltage voltage)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static BigInteger</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertToPicoSeconds(org.eclipse.app4mc.amalthea.model.Time)">convertToPicoSeconds</a></span>​(@NonNull Time time)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is used to convert the value of Time/TimeObject element's value |
| to BigInteger in Pico Seconds</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static BigDecimal</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertToSeconds(double,org.eclipse.app4mc.amalthea.model.TimeUnit)">convertToSeconds</a></span>​(double time, |
| @NonNull TimeUnit timeUnit)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is used to convert a time with associated time unit |
| to BigDecimal in seconds</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static BigDecimal</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#convertToSeconds(org.eclipse.app4mc.amalthea.model.Time)">convertToSeconds</a></span>​(@NonNull Time time)</code></th> |
| <td class="colLast"> |
| <div class="block">This method is used to convert the value of Time/TimeObject element's value |
| to BigDecimal in seconds</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#divideTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)">divideTime</a></span>​(@NonNull Time t1, |
| @NonNull Time t2)</code></th> |
| <td class="colLast"> |
| <div class="block">Divides t1 by t2</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static EList<HwModule></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllModules(org.eclipse.app4mc.amalthea.model.HwStructure)">getAllModules</a></span>​(@NonNull HwStructure struct)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAverageOfBetaDistribution(java.lang.Number,java.lang.Number,double,double)">getAverageOfBetaDistribution</a></span>​(@NonNull Number inputA, |
| @NonNull Number inputB, |
| double alpha, |
| double beta)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static Time</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAverageOfBetaDistribution(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time,double,double)">getAverageOfBetaDistribution</a></span>​(@NonNull Time a, |
| @NonNull Time b, |
| double alpha, |
| double beta)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAverageOfTruncatedNormalDistribution(java.lang.Number,java.lang.Number,double,double)">getAverageOfTruncatedNormalDistribution</a></span>​(@Nullable Number inputA, |
| @Nullable Number inputB, |
| double mean, |
| double sd)</code></th> |
| <td class="colLast"> |
| <div class="block">Computes the average (mean) of the truncated normal distribution</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>static @NonNull Time</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAverageOfTruncatedNormalDistribution(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)">getAverageOfTruncatedNormalDistribution</a></span>​(@Nullable Time a, |
| @Nullable Time b, |
| @NonNull Time mean, |
| @NonNull Time sd)</code></th> |
| <td class="colLast"> |
| <div class="block">Computes the average (mean) of the truncated normal distribution</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <T extends EObject><br>T</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContainerOfType(org.eclipse.emf.ecore.EObject,java.lang.Class)">getContainerOfType</a></span>​(@NonNull EObject object, |
| @NonNull Class<T> type)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>static EList<HwPort></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInnerPorts(org.eclipse.app4mc.amalthea.model.HwStructure)">getInnerPorts</a></span>​(@NonNull HwStructure struct)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>static EList<QualifiedPort></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInnerPorts(org.eclipse.app4mc.amalthea.model.ISystem)">getInnerPorts</a></span>​(@NonNull ISystem system)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static @NonNull Time</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#multiply(org.eclipse.app4mc.amalthea.model.Time,double)">multiply</a></span>​(@NonNull Time t1, |
| double value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>static @NonNull Time</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#multiply(org.eclipse.app4mc.amalthea.model.Time,long)">multiply</a></span>​(@NonNull Time t1, |
| long value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>static @NonNull Time</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subtractTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)">subtractTime</a></span>​(@NonNull Time t1, |
| @NonNull Time t2)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class Object</h3> |
| <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a id="TIME_UNIT_LIST"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>TIME_UNIT_LIST</h4> |
| <pre>public static final List<TimeUnit> TIME_UNIT_LIST</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="getContainerOfType(org.eclipse.emf.ecore.EObject,java.lang.Class)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getContainerOfType</h4> |
| <pre class="methodSignature">public static <T extends EObject> T getContainerOfType​(@NonNull EObject object, |
| @NonNull Class<T> type)</pre> |
| </li> |
| </ul> |
| <a id="convertToBit(org.eclipse.app4mc.amalthea.model.DataSize)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertToBit</h4> |
| <pre class="methodSignature">public static BigInteger convertToBit​(@NonNull DataSize size)</pre> |
| </li> |
| </ul> |
| <a id="convertToBitPerSecond(org.eclipse.app4mc.amalthea.model.DataRate)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertToBitPerSecond</h4> |
| <pre class="methodSignature">public static BigInteger convertToBitPerSecond​(@NonNull DataRate rate)</pre> |
| </li> |
| </ul> |
| <a id="convertToPicoSeconds(org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertToPicoSeconds</h4> |
| <pre class="methodSignature">public static BigInteger convertToPicoSeconds​(@NonNull Time time)</pre> |
| <div class="block">This method is used to convert the value of Time/TimeObject element's value |
| to BigInteger in Pico Seconds</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>time</code> - Time object</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value BigInteger in Pico Seconds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="convertToSeconds(double,org.eclipse.app4mc.amalthea.model.TimeUnit)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertToSeconds</h4> |
| <pre class="methodSignature">public static BigDecimal convertToSeconds​(double time, |
| @NonNull TimeUnit timeUnit)</pre> |
| <div class="block">This method is used to convert a time with associated time unit |
| to BigDecimal in seconds</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>time</code> - time as double</dd> |
| <dd><code>timeUnit</code> - the time unit</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value BigDecimal in seconds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="convertToSeconds(org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertToSeconds</h4> |
| <pre class="methodSignature">public static BigDecimal convertToSeconds​(@NonNull Time time)</pre> |
| <div class="block">This method is used to convert the value of Time/TimeObject element's value |
| to BigDecimal in seconds</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>time</code> - Time object</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>value BigDecimal in seconds</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="convertToHertz(org.eclipse.app4mc.amalthea.model.Frequency)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertToHertz</h4> |
| <pre class="methodSignature">public static BigDecimal convertToHertz​(@NonNull Frequency frequency)</pre> |
| </li> |
| </ul> |
| <a id="convertToMicroVolt(org.eclipse.app4mc.amalthea.model.Voltage)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>convertToMicroVolt</h4> |
| <pre class="methodSignature">public static BigDecimal convertToMicroVolt​(@NonNull Voltage voltage)</pre> |
| </li> |
| </ul> |
| <a id="compareDataRates(org.eclipse.app4mc.amalthea.model.DataRate,org.eclipse.app4mc.amalthea.model.DataRate)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareDataRates</h4> |
| <pre class="methodSignature">public static int compareDataRates​(@NonNull DataRate r1, |
| @NonNull DataRate r2)</pre> |
| <div class="block">This method is used to compare DataRate objects on the basis of their values |
| (obtained in bit per second after applying the conversion based on DataRateUnit)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>r1</code> - DataRate object</dd> |
| <dd><code>r2</code> - DataRate object</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>-1 ,0 or 1</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="compareTimes(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>compareTimes</h4> |
| <pre class="methodSignature">public static int compareTimes​(@NonNull Time t1, |
| @NonNull Time t2)</pre> |
| <div class="block">This method is used to compare Time objects on the basis of their values |
| (obtained in pico seconds after applying the conversion based on TimeUnit)</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>t1</code> - Time object</dd> |
| <dd><code>t2</code> - Time object</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>-1 ,0 or 1</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="adjustTimeUnit(org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>adjustTimeUnit</h4> |
| <pre class="methodSignature">public static @NonNull Time adjustTimeUnit​(@NonNull Time time)</pre> |
| <div class="block">This method takes a time (in value and unit) and adjusts the TimeUnit so that |
| the value is as small as possible, without losing precision e.g. 1000us is |
| converted to 1ms</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>time</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>new Time with adjusted value and unit</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="addTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addTime</h4> |
| <pre class="methodSignature">public static @NonNull Time addTime​(@NonNull Time t1, |
| @NonNull Time t2)</pre> |
| </li> |
| </ul> |
| <a id="subtractTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>subtractTime</h4> |
| <pre class="methodSignature">public static @NonNull Time subtractTime​(@NonNull Time t1, |
| @NonNull Time t2)</pre> |
| </li> |
| </ul> |
| <a id="divideTime(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>divideTime</h4> |
| <pre class="methodSignature">public static double divideTime​(@NonNull Time t1, |
| @NonNull Time t2)</pre> |
| <div class="block">Divides t1 by t2 |
| <p> |
| In case of t2 == 0 the limit t2 -> 0 is used</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>t1</code> - </dd> |
| <dd><code>t2</code> - </dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>t1 / t2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="multiply(org.eclipse.app4mc.amalthea.model.Time,long)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multiply</h4> |
| <pre class="methodSignature">public static @NonNull Time multiply​(@NonNull Time t1, |
| long value)</pre> |
| </li> |
| </ul> |
| <a id="multiply(org.eclipse.app4mc.amalthea.model.Time,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>multiply</h4> |
| <pre class="methodSignature">public static @NonNull Time multiply​(@NonNull Time t1, |
| double value)</pre> |
| </li> |
| </ul> |
| <a id="getAverageOfTruncatedNormalDistribution(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAverageOfTruncatedNormalDistribution</h4> |
| <pre class="methodSignature">public static @NonNull Time getAverageOfTruncatedNormalDistribution​(@Nullable Time a, |
| @Nullable Time b, |
| @NonNull Time mean, |
| @NonNull Time sd)</pre> |
| <div class="block">Computes the average (mean) of the truncated normal distribution |
| |
| <p> |
| See |
| <a href="https://en.wikipedia.org/wiki/Truncated_normal_distribution" target="_top">Truncated normal distribution (Wikipedia)</a> |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>a</code> - lower bound (null = not truncated from below)</dd> |
| <dd><code>b</code> - upper bound (null = not truncated from above)</dd> |
| <dd><code>mean</code> - mean or expectation of the (unlimited) distribution</dd> |
| <dd><code>sd</code> - standard deviation</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Average of the truncated distribution</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAverageOfTruncatedNormalDistribution(java.lang.Number,java.lang.Number,double,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAverageOfTruncatedNormalDistribution</h4> |
| <pre class="methodSignature">public static double getAverageOfTruncatedNormalDistribution​(@Nullable Number inputA, |
| @Nullable Number inputB, |
| double mean, |
| double sd)</pre> |
| <div class="block">Computes the average (mean) of the truncated normal distribution |
| |
| <p> |
| See |
| <a href="https://en.wikipedia.org/wiki/Truncated_normal_distribution" target="_top">Truncated normal distribution (Wikipedia)</a> |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>inputA</code> - lower bound (null = not truncated from below)</dd> |
| <dd><code>inputB</code> - upper bound (null = not truncated from above)</dd> |
| <dd><code>mean</code> - mean or expectation of the (unlimited) distribution</dd> |
| <dd><code>sd</code> - standard deviation</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Average of the truncated distribution</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="getAverageOfBetaDistribution(org.eclipse.app4mc.amalthea.model.Time,org.eclipse.app4mc.amalthea.model.Time,double,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAverageOfBetaDistribution</h4> |
| <pre class="methodSignature">public static Time getAverageOfBetaDistribution​(@NonNull Time a, |
| @NonNull Time b, |
| double alpha, |
| double beta)</pre> |
| </li> |
| </ul> |
| <a id="getAverageOfBetaDistribution(java.lang.Number,java.lang.Number,double,double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getAverageOfBetaDistribution</h4> |
| <pre class="methodSignature">public static Double getAverageOfBetaDistribution​(@NonNull Number inputA, |
| @NonNull Number inputB, |
| double alpha, |
| double beta)</pre> |
| </li> |
| </ul> |
| <a id="getInnerPorts(org.eclipse.app4mc.amalthea.model.ISystem)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInnerPorts</h4> |
| <pre class="methodSignature">public static EList<QualifiedPort> getInnerPorts​(@NonNull ISystem system)</pre> |
| </li> |
| </ul> |
| <a id="getInnerPorts(org.eclipse.app4mc.amalthea.model.HwStructure)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInnerPorts</h4> |
| <pre class="methodSignature">public static EList<HwPort> getInnerPorts​(@NonNull HwStructure struct)</pre> |
| </li> |
| </ul> |
| <a id="getAllModules(org.eclipse.app4mc.amalthea.model.HwStructure)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getAllModules</h4> |
| <pre class="methodSignature">public static EList<HwModule> getAllModules​(@NonNull HwStructure struct)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </body> |
| </html> |