MCScheduling 1.0
Set of Algorithms for Solving Mixed-Criticality Scheduling
Static Public Member Functions
MCScheduling.GeneticAlgorithm.CMutationOperatorSerializer Class Reference

A serializer for mutation operators. More...

List of all members.

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.

Detailed Description

A serializer for mutation operators.


Member Function Documentation

static IMutationOperator MCScheduling.GeneticAlgorithm.CMutationOperatorSerializer.deserialize ( string  serialization,
CConfiguration  configuration 
) [static]

Creates a mutation operator from the specified string.

Parameters:
serializationThe operator's serialization to be deserialized.
configurationThe configuration of the genetic algorithm that will use the mutation operator.
Returns:
The deserialized mutation operator.
Exceptions:
ArgumentExceptionIf 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.

Parameters:
mutationThe operator to be serialized.
Returns:
The string representing the serialization of the specified mutation operator.
Exceptions:
ArgumentExceptionIf mutation is null or unknown by this serializer.
 All Classes Namespaces Functions Variables Properties