java.lang.Object
simpa.core.api.GlobalSourceArrangement
Class containing the source arrangements that make up a region of the field
that will be evaluated.
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalSourceArrangement
(String name, List<SourceArrangement> list, double scaling) Construct a global source arrangement with the given name, list of SourceArrangement objects and scaling. -
Method Summary
Modifier and TypeMethodDescriptionGets the list of SourceArrangement objects.getName()
Gets the name of the global source arrangement.double
Gets the global scaling.void
setScaling
(double sc) Method to set/update the global scaling.
-
Constructor Details
-
GlobalSourceArrangement
Construct a global source arrangement with the given name, list of SourceArrangement objects and scaling.- Parameters:
name
- Name for the global source arrangement.list
- List of SourceArrangement objects.scaling
- Global scaling.
-
-
Method Details
-
getElements
Gets the list of SourceArrangement objects.- Returns:
- List of SourceArrangement objects.
-
getScaling
public double getScaling()Gets the global scaling.- Returns:
- The global scaling.
-
setScaling
public void setScaling(double sc) Method to set/update the global scaling.- Parameters:
sc
- Scaling value (double).
-
getName
Gets the name of the global source arrangement.- Returns:
- The name of the global source arrangement.
-