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