Package org.jreliability.tutorial.boiler
Class BoilerTransformer
java.lang.Object
org.jreliability.tutorial.boiler.BoilerTransformer
- All Implemented Interfaces:
org.apache.commons.collections15.Transformer<BoilerComponent,
ReliabilityFunction>
public class BoilerTransformer
extends Object
implements org.apache.commons.collections15.Transformer<BoilerComponent,ReliabilityFunction>
The
BoilerTransformer
provides a ReliabilityFunction
for each
BoilerComponent
in the Boiler
. In this implementation, each
component is assigned a WeibullReliabilityFunction
with a scale of
0.5
and a shape of 2
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map
<BoilerComponent, ReliabilityFunction> The usedReliabilityFunction
for each component of theBoiler
. -
Constructor Summary
ConstructorsConstructorDescriptionBoilerTransformer
(Boiler boiler) Constructs aBoilerTransformer
with a givenBoiler
. -
Method Summary
-
Field Details
-
reliabilityFunctions
The usedReliabilityFunction
for each component of theBoiler
.
-
-
Constructor Details
-
BoilerTransformer
Constructs aBoilerTransformer
with a givenBoiler
.- Parameters:
boiler
- the boiler
-
-
Method Details
-
transform
- Specified by:
transform
in interfaceorg.apache.commons.collections15.Transformer<BoilerComponent,
ReliabilityFunction>
-