java.lang.Object
com.amalgamasimulation.studies.core.StudyStep
com.amalgamasimulation.studies.core.Study
Direct Known Subclasses:
IncrementalUnitsCapacityStudy, NumericVariationStudy

public class Study extends StudyStep
  • Constructor Details

    • Study

      public Study(String name)
  • Method Details

    • apply

      public void apply(StudyStep parent)
    • name

      public String name()
      Specified by:
      name in class StudyStep
    • name

      public void name(String name)
    • selectedResultPathes

      public List<ResultPath> selectedResultPathes()
    • selectedResultPathes

      public void selectedResultPathes(List<ResultPath> pathes)
    • replicationsCount

      public int replicationsCount()
      Overrides:
      replicationsCount in class StudyStep
    • onStepCompleted

      public void onStepCompleted(ReplicationStudyStep completedReplicationStep)
    • reports

      public List<Report> reports()
    • isApplicable

      public boolean isApplicable(StudyStep studyStep)
    • initialize

      public void initialize()
    • changeReplicationsCount

      public void changeReplicationsCount(int newReplicationsCount)
      Specified by:
      changeReplicationsCount in class StudyStep
    • copy

      public Study copy(StudyStep parent)
      Description copied from class: StudyStep
      Creates a deep copy of this StudyStep and all its children, establishing the specified parent for the cloned StudyStep. This method performs a recursive clone of the entire subtree, maintaining the hierarchical structure.

      The cloning process includes:

      • Creating a new StudyStep instance with the same name and data as this node
      • Setting the specified parent for the cloned StudyStep
      • Creating deep copies of all child nodes, with each child having its parent set to the newly created clone of this node
      Specified by:
      copy in class StudyStep
      Parameters:
      parent - the StudyStep that will become the parent of the cloned StudyStep.
      Returns:
      a new StudyStep instance that is a deep copy of this StudyStep, with all child nodes recursively cloned and the specified parent set