Dokumentacja systemu EvNet
contents.gif | index.gif
up.gif | previous.gif
Opis plików wejściowych
Opis działania systemu EvNet
Wejście programu stanowią pliki XML opisujące podstawowe parametry świata i agentów.

W podanym przykładzie należy uruchomić osobne instancje programu dla serwera (środowisko zarządzające), jak i dla każdej z wysp.

 

Plik konfiguracyjny serwera może mieć postać:

 

<SystemConfiguration Address="tcp://localhost:2346">
        <Components>
                <Component ClassName="Evolution.Log.FileLogger" AssemblyName="FileLogger">
                        <FileLoggerConfiguration FilePrefix="bum-" FileExt=".txt" Facility="Info" Address="MojLogger"/>
                </Component>
                <Component ClassName="Evolution.App.ServerOnly" AssemblyName="ServerOnly"/>
                <Component ClassName="Evolution.Generator.FileGeneratorFactory" AssemblyName="FileGenerator">
                        <FileGeneratorFactoryConfiguration MaxSize="20" FileName="sin1x.txt" Address="MojGenerator"/>
                </Component>
                <Component ClassName="Evolution.Global.PremonnGlobalClassificator" AssemblyName="PremonnGlobalClassificator">
                        <PremonnGlobalClassificatorConfiguration Address="Premonn" WinnerTakesAll="false" NumberOfIslands="3"/>
                </Component>
        </Components>
</SystemConfiguration>

 

 

Przykładowy plik konfiguracyjny dla instancji programu - wyspy:

 

<SystemConfiguration Address="tcp://localhost:2344">
        <Components>
                <Component ClassName="Evolution.Associate.FirstPair" AssemblyName="FirstPair"/>
                <Component ClassName="Evolution.Log.RemoteLogger" AssemblyName="RemoteLogger">
                        <RemoteLoggerConfiguration Address="tcp://localhost:2346/MojLogger" PackSize="100"/>
                </Component>
                <Component ClassName="Evolution.NeuralNet.FeedForward" AssemblyName="FeedForward">
                        <FeedForwardConfiguration MinInput="6" MaxInput="6" MinHidden1="3" MaxHidden1="10" MinHidden2="1" MaxHidden2="5" MinOutputLearningRate="0.0" MaxOutputLearningRate="0.5" MinHiddenLearningRate="0.0" MaxHiddenLearningRate="0.5"/>
                </Component>
                <Component ClassName="Evolution.App.SystemComponent" AssemblyName="SystemComponent">
                        <SystemComponentConfiguration Address="tcp://localhost:2344/Jurek2Island" MyName="Jurek2Island" Steps="15000">
                                <ManagerConfig MaxAgents="400" StartAgents="200" MultPrize="20" ParamA="20" ParamB="-29" Steps="10"/>
                                <PredConfig StartEnergy="40" MultMinEnergy="45" MultProb="0.002" DeathProb="0.00"
                                MultMinPeriod="100" ProtectionPeriod="200"
                                MigrationProb="0.002" MigrationMinEnergy="45"/>
                        </SystemComponentConfiguration>
                </Component>
                <Component ClassName="Evolution.Random.BedlamRandomGenerator" AssemblyName="BedlamRandomGenerator"/>
                <Component ClassName="Evolution.Generator.RemoteGeneratorFactory" AssemblyName="RemoteGenerator">
                        <RemoteGeneratorFactoryConfiguration Address="tcp://localhost:2346/MojGenerator"/>
                </Component>
                <Component ClassName="Evolution.Mutation.NormalMutation" AssemblyName="NormalMutation">
                        <NormalMutationConfiguration DefaultStdError="0.1">
                                <Properties>
                                        <Property Name="InputSize" StdError="2"/>
                                        <Property Name="HiddenSize" StdError="2"/>
                                </Properties>
                        </NormalMutationConfiguration>
                </Component>
                <Component ClassName="Evolution.Crossover.NormalCrossover" AssemblyName="NormalCrossover"/>
                <Component ClassName="Evolution.Global.RemoteGlobalClassificator" AssemblyName="RemoteGlobalClassificator">
                        <RemoteGlobalClassificatorConfiguration Address="tcp://localhost:2346/Premonn" PackSize="100"/>
                </Component>
                <Component ClassName="Evolution.Local.PremonnLocalClassificator" AssemblyName="PremonnLocalClassificator">
                        <PremonnLocalClassificatorConfiguration WinnerTakesAll="false"/>
                </Component>
        </Components>
</SystemConfiguration>
Group
Links

contents.gif | index.gif