Class FWSimDataframe
- All Implemented Interfaces:
Serializable, Cloneable, Iterable<FWSimDataset>, Collection<FWSimDataset>, List<FWSimDataset>, RandomAccess, SequencedCollection<FWSimDataset>
Dependency table of a solution: one
FWSimDataset per use of a variable (which component or setting uses
which variable, and in which role). It is filled while the solution is set up and used in the check levels INTENSE
and ONLY to write <sessionid>_solution_variables.csv and to report unused constants and control
variables.- See Also:
-
Field Summary
Fields inherited from class AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstant(FWSimVariable<?> aVariable) Adds a solution variable.voidaddInterfaceParam(String aName, String aVarName, String aRule) Adds the parameters (${...}) used in a setting of an interface.booleanaddOutput(FWSimOutput aSimOutput) Adds an output: the variables of its output and reset rules and the variables of its header (from rules or direct references).voidaddResource(FWSimInputAdapter aFwSimInputAdapter) Adds a resource: the variables of its frequency rule, its key variables and its other header variables.voidaddSimComponent(FWSimComponent aSimComponent) Adds a SimComponent: for managements and simple components the variables used in their rules, otherwise the variables of its frequency rule and its inputs with the bound variables.getConstants(Boolean aIncludeSysvars) voidWrites the table as CSV file (separator;).Methods inherited from class ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class AbstractCollection
containsAll, toStringMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
containsAll, reversed
-
Constructor Details
-
FWSimDataframe
public FWSimDataframe()Creates an empty table.
-
-
Method Details
-
addInterfaceParam
-
addConstant
Adds a solution variable.- Parameters:
aVariable- the variable
-
addResource
Adds a resource: the variables of its frequency rule, its key variables and its other header variables.Note: the second check for a component prefix tests the header variable again instead of the key, so the key is never split into component and variable.
- Parameters:
aFwSimInputAdapter- the resource adapter or transformer
-
addSimComponent
Adds a SimComponent: for managements and simple components the variables used in their rules, otherwise the variables of its frequency rule and its inputs with the bound variables.- Parameters:
aSimComponent- the component
-
addOutput
Adds an output: the variables of its output and reset rules and the variables of its header (from rules or direct references).- Parameters:
aSimOutput- the output- Returns:
- always
true
-
toCSV
Writes the table as CSV file (separator;). Errors are logged.- Parameters:
aFileName- the file
-
getUnusedConstants
-
getConstants
-
getListOfControlVariables
-