Free cookie consent management tool by TermsFeed Policy Generator

source: branches/thasling/DistributedGA/DistributedGA.Operator/Interface/IMigrationOperator.cs @ 13524

Last change on this file since 13524 was 13524, checked in by thasling, 8 years ago

Upload des Projekts letztendlich, trotz buggendes Clients...

File size: 736 bytes
Line 
1using DistributedGA.Core;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace DistributedGA.Operator.Interface
9{
10    /// <summary>
11    /// Is used within a GA-Instance to be able to apply changes on internal population during the GA's lifecycle
12    /// </summary>
13    public interface IMigrationOperator
14    {
15        void Init();
16
17        void Apply(Solution[] population); //Applies population on GA's internal population
18
19        SolutionInfo[] GetMigrationInfo(); //Get populations from the peer-to-peer network
20
21        void PublishMigrationInfo(SolutionInfo[] population); //Send population into the peer-to-peer network
22    }
23}
Note: See TracBrowser for help on using the repository browser.