cratepy.ioput.readprocedures.read_rewinding_criterion_parameters

read_rewinding_criterion_parameters(file, file_path, keyword)[source]

Read the solution rewinding criterion parameters.

The specification of the data associated with the solution rewind criterion criterion has the following input data file syntax:

1Analysis_Rewinding
2Analysis_Rewind_State_Criterion < criterion > < parameter_value >
3Analysis_Rewinding_Criterion < criterion > < parameter_value >
4[Max_Number_of_Rewinds < int >]

where criterion (str) is the solution rewind criterion name and parameter_value ({int, float}) is the corresponding parameter value.


Parameters:
  • file (file) – Data file.

  • file_path (str) – Data file path.

  • keyword (str) – Keyword.

Returns:

rewinding_criterion – Rewinding criterion [0] and associated parameter [1].

Return type:

tuple, default=None