blob: cd890499a91d386fa3a63dc418742d7170b14a56 [file] [log] [blame]
<!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">&nbsp;</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&lt;TimeUnit&gt;</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">&nbsp;</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">&nbsp;</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>&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;t2)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Time&nbsp;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>&#8203;(@NonNull DataRate&nbsp;r1,
@NonNull DataRate&nbsp;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>&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;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>&#8203;(@NonNull DataSize&nbsp;size)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull DataRate&nbsp;rate)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Frequency&nbsp;frequency)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Voltage&nbsp;voltage)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Time&nbsp;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>&#8203;(double&nbsp;time,
@NonNull TimeUnit&nbsp;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>&#8203;(@NonNull Time&nbsp;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>&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;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&lt;HwModule&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllModules(org.eclipse.app4mc.amalthea.model.HwStructure)">getAllModules</a></span>&#8203;(@NonNull HwStructure&nbsp;struct)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Number&nbsp;inputA,
@NonNull Number&nbsp;inputB,
double&nbsp;alpha,
double&nbsp;beta)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Time&nbsp;a,
@NonNull Time&nbsp;b,
double&nbsp;alpha,
double&nbsp;beta)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@Nullable Number&nbsp;inputA,
@Nullable Number&nbsp;inputB,
double&nbsp;mean,
double&nbsp;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>&#8203;(@Nullable Time&nbsp;a,
@Nullable Time&nbsp;b,
@NonNull Time&nbsp;mean,
@NonNull Time&nbsp;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 &lt;T extends EObject&gt;<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>&#8203;(@NonNull EObject&nbsp;object,
@NonNull Class&lt;T&gt;&nbsp;type)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static EList&lt;HwPort&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInnerPorts(org.eclipse.app4mc.amalthea.model.HwStructure)">getInnerPorts</a></span>&#8203;(@NonNull HwStructure&nbsp;struct)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static EList&lt;QualifiedPort&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInnerPorts(org.eclipse.app4mc.amalthea.model.ISystem)">getInnerPorts</a></span>&#8203;(@NonNull ISystem&nbsp;system)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Time&nbsp;t1,
double&nbsp;value)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Time&nbsp;t1,
long&nbsp;value)</code></th>
<td class="colLast">&nbsp;</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>&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;t2)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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&nbsp;List&lt;TimeUnit&gt; 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&nbsp;&lt;T extends EObject&gt;&nbsp;T&nbsp;getContainerOfType&#8203;(@NonNull EObject&nbsp;object,
@NonNull Class&lt;T&gt;&nbsp;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&nbsp;BigInteger&nbsp;convertToBit&#8203;(@NonNull DataSize&nbsp;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&nbsp;BigInteger&nbsp;convertToBitPerSecond&#8203;(@NonNull DataRate&nbsp;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&nbsp;BigInteger&nbsp;convertToPicoSeconds&#8203;(@NonNull Time&nbsp;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&nbsp;BigDecimal&nbsp;convertToSeconds&#8203;(double&nbsp;time,
@NonNull TimeUnit&nbsp;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&nbsp;BigDecimal&nbsp;convertToSeconds&#8203;(@NonNull Time&nbsp;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&nbsp;BigDecimal&nbsp;convertToHertz&#8203;(@NonNull Frequency&nbsp;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&nbsp;BigDecimal&nbsp;convertToMicroVolt&#8203;(@NonNull Voltage&nbsp;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&nbsp;int&nbsp;compareDataRates&#8203;(@NonNull DataRate&nbsp;r1,
@NonNull DataRate&nbsp;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&nbsp;int&nbsp;compareTimes&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;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&nbsp;@NonNull Time&nbsp;adjustTimeUnit&#8203;(@NonNull Time&nbsp;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&nbsp;@NonNull Time&nbsp;addTime&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;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&nbsp;@NonNull Time&nbsp;subtractTime&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;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&nbsp;double&nbsp;divideTime&#8203;(@NonNull Time&nbsp;t1,
@NonNull Time&nbsp;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&nbsp;@NonNull Time&nbsp;multiply&#8203;(@NonNull Time&nbsp;t1,
long&nbsp;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&nbsp;@NonNull Time&nbsp;multiply&#8203;(@NonNull Time&nbsp;t1,
double&nbsp;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&nbsp;@NonNull Time&nbsp;getAverageOfTruncatedNormalDistribution&#8203;(@Nullable Time&nbsp;a,
@Nullable Time&nbsp;b,
@NonNull Time&nbsp;mean,
@NonNull Time&nbsp;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&nbsp;double&nbsp;getAverageOfTruncatedNormalDistribution&#8203;(@Nullable Number&nbsp;inputA,
@Nullable Number&nbsp;inputB,
double&nbsp;mean,
double&nbsp;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&nbsp;Time&nbsp;getAverageOfBetaDistribution&#8203;(@NonNull Time&nbsp;a,
@NonNull Time&nbsp;b,
double&nbsp;alpha,
double&nbsp;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&nbsp;Double&nbsp;getAverageOfBetaDistribution&#8203;(@NonNull Number&nbsp;inputA,
@NonNull Number&nbsp;inputB,
double&nbsp;alpha,
double&nbsp;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&nbsp;EList&lt;QualifiedPort&gt;&nbsp;getInnerPorts&#8203;(@NonNull ISystem&nbsp;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&nbsp;EList&lt;HwPort&gt;&nbsp;getInnerPorts&#8203;(@NonNull HwStructure&nbsp;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&nbsp;EList&lt;HwModule&gt;&nbsp;getAllModules&#8203;(@NonNull HwStructure&nbsp;struct)</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
</body>
</html>