Table of Contents
Target Namespace
None
Element and Attribute Namespaces
Global element and attribute declarations belong to this schema's target namespace.
By default, local element declarations have no namespace.
By default, local attribute declarations have no namespace.
Documentation
W3C XML Schema for Open BEAGLE files by Christian Gagne, originally
created April 2004, last updated October 2005. Every Open BEAGLE files
starts with root element "Beagle".
Declared Namespaces
Prefix
Namespace
xml
http://www.w3.org/XML/1998/namespace
xs
http://www.w3.org/2001/XMLSchema
Schema Component Representation
<
xs:schema >
...
</
xs:schema >
Name
Beagle
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
Root XML tag of Open BEAGLE document. Six main elements can be used:
Logger, Evolver, Register, System, Vivarium and Seeds. There is four
usual use cases: configuration file, log file, milestone file and seeds
file. Configuration file includes Evolver and System elements. Log file
includes Logger element. Milestone file includes Evolver, System and
Vivarium elements. Seeds file includes Seeds element.
XML Instance Representation
<Beagle
version="xs :string [0..1] " deme="xs :nonNegativeInteger [0..1] " generation="xs :nonNegativeInteger [0..1] " >
Start Choice [0..*] End Choice </Beagle>
Schema Component Representation
<
xs:element name ="
Beagle ">
<
xs:complexType >
<
xs:choice minOccurs ="
0 "
maxOccurs ="
unbounded ">
<
xs:element ref ="
Seeds "/>
</
xs:choice >
<
xs:attribute name ="
version "
type ="
xs :string"
use ="
optional "/>
<
xs:attribute name ="
deme "
type ="
xs :nonNegativeInteger"
use ="
optional "/>
<
xs:attribute name ="
generation "
type ="
xs :nonNegativeInteger"
use ="
optional "/>
</
xs:complexType >
</
xs:element >
Element: Deme
Name
Deme
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
A deme is made of the statistics of the population for the actual
generation, an hall-of-fame containing the best-of-run individuals, and
a population of individuals.
XML Instance Representation
<Deme>
<Population
size="xs :nonNegativeInteger [0..1] " >
[1] Start Sequence [0..*] End Sequence </Population>
</Deme>
Schema Component Representation
<
xs:element name ="
Deme ">
<
xs:complexType >
<
xs:sequence >
<
xs:element ref ="
Stats "/>
<
xs:element name ="
Population ">
<
xs:complexType >
<
xs:sequence minOccurs ="
0 "
maxOccurs ="
unbounded ">
</
xs:sequence >
<
xs:attribute name ="
size "
type ="
xs :nonNegativeInteger"
use ="
optional "/>
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
Name
Evolver
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
An evolvers is composed of a BootStrapSet followed by a MainLoopSet.
Each of these sets contains a list operators to apply. As the name of
all usable operators are not known beforehand so the content is relaxed
to the use of any type. The real condition is that only elements
associated to operators can be used.
XML Instance Representation
<Evolver>
<BootStrapSet>
[1] Start Sequence [0..*] Allow any elements from any namespace (lax validation). [1]
End Sequence </BootStrapSet>
<MainLoopSet>
[1] Start Sequence [0..*] Allow any elements from any namespace (lax validation). [1]
End Sequence </MainLoopSet>
</Evolver>
Schema Component Representation
<
xs:element name ="
Evolver ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
BootStrapSet ">
<
xs:complexType >
<
xs:sequence minOccurs ="
0 "
maxOccurs ="
unbounded ">
<xs:any processContents ="lax "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
<
xs:element name ="
MainLoopSet ">
<
xs:complexType >
<
xs:sequence minOccurs ="
0 "
maxOccurs ="
unbounded ">
<xs:any processContents ="lax "/>
</
xs:sequence >
</
xs:complexType >
</
xs:element >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
XML Instance Representation
<Fitness
type="xs :string [0..1] " valid="xs :string (value comes from list: {'yes'|'no'}) [0..1] " Allow any attributes from any namespace (lax validation).
>
<!-- Mixed content --> Start Choice [0..*] Allow any elements from any namespace (lax validation). [1]
End Choice </Fitness>
Schema Component Representation
<
xs:element name ="
Fitness "
type ="
fitness "/>
XML Instance Representation
<GA-CrossoverBlendESVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverBlendESVecOp>
XML Instance Representation
<GA-CrossoverBlendFltVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverBlendFltVecOp>
XML Instance Representation
<GA-CrossoverIndicesIntVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverIndicesIntVecOp>
XML Instance Representation
<GA-CrossoverOnePointBitStrOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverOnePointBitStrOp>
XML Instance Representation
<GA-CrossoverOnePointESVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverOnePointESVecOp>
XML Instance Representation
<GA-CrossoverOnePointFltVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverOnePointFltVecOp>
XML Instance Representation
<GA-CrossoverOnePointIntVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverOnePointIntVecOp>
XML Instance Representation
<GA-CrossoverSBXFltVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverSBXFltVecOp>
XML Instance Representation
<GA-CrossoverTwoPointsBitStrOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverTwoPointsBitStrOp>
XML Instance Representation
<GA-CrossoverTwoPointsESVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverTwoPointsESVecOp>
XML Instance Representation
<GA-CrossoverTwoPointsFltVecOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverTwoPointsFltVecOp>
XML Instance Representation
<GA-CrossoverTwoPointsIntStrOp
matingpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverTwoPointsIntStrOp>
XML Instance Representation
<GA-CrossoverUniformBitStrOp
matingpb="xs :string [0..1] " distrpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverUniformBitStrOp>
XML Instance Representation
<GA-CrossoverUniformESVecOp
matingpb="xs :string [0..1] " distrpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverUniformESVecOp>
XML Instance Representation
<GA-CrossoverUniformFltVecOp
matingpb="xs :string [0..1] " distrpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverUniformFltVecOp>
XML Instance Representation
<GA-CrossoverUniformIntStrOp
matingpb="xs :string [0..1] " distrpb="xs :string [0..1] " >
Start Choice [0..1] Allow any elements from any namespace (lax validation). [1]
Allow any elements from any namespace (lax validation). [1]
End Choice </GA-CrossoverUniformIntStrOp>