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

A serializer for selector genetic operators. More...

List of all members.

Static Public Member Functions

static string serialize (ISelectionOperator selector)
 Returns the System.String representing the serialization of the specified selector operator.
static ISelectionOperator deserialize (string serialization, CConfiguration configuration)
 Creates a selector operator from the specified string.

Detailed Description

A serializer for selector genetic operators.


Member Function Documentation

static ISelectionOperator MCScheduling.GeneticAlgorithm.CSelectorOperatorSerializer.deserialize ( string  serialization,
CConfiguration  configuration 
) [static]

Creates a selector operator from the specified string.

Parameters:
serializationThe operator's serialization to be deserialized.
configurationThe configuration of the genetic algorithm that will use the selector.
Returns:
The deserialized selector operator.
Exceptions:
ArgumentExceptionIf the serialization is invalid, or represents no selector.
static string MCScheduling.GeneticAlgorithm.CSelectorOperatorSerializer.serialize ( ISelectionOperator  selector) [static]

Returns the System.String representing the serialization of the specified selector operator.

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