MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
|
A serializer for mutation operators. More...
Static Public Member Functions | |
static string | serialize (IMutationOperator mutation) |
Returns the System.String representing the serialization of the specified mutation operator. | |
static IMutationOperator | deserialize (string serialization, CConfiguration configuration) |
Creates a mutation operator from the specified string. |
A serializer for mutation operators.
static IMutationOperator MCScheduling.GeneticAlgorithm.CMutationOperatorSerializer.deserialize | ( | string | serialization, |
CConfiguration | configuration | ||
) | [static] |
Creates a mutation operator from the specified string.
serialization | The operator's serialization to be deserialized. |
configuration | The configuration of the genetic algorithm that will use the mutation operator. |
ArgumentException | If the serialization is invalid, or represents no mutation operator. |
static string MCScheduling.GeneticAlgorithm.CMutationOperatorSerializer.serialize | ( | IMutationOperator | mutation | ) | [static] |
Returns the System.String representing the serialization of the specified mutation operator.
mutation | The operator to be serialized. |
ArgumentException | If mutation is null or unknown by this serializer. |