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

A serializer for crossover operators. More...

List of all members.

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.

Detailed Description

A serializer for crossover operators.


Member Function Documentation

static ICrossoverOperator MCScheduling.GeneticAlgorithm.CCrossoverOperatorSerializer.deserialize ( string  serialization,
CConfiguration  configuration 
) [static]

Creates a crossover operator from the specified string.

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

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