示例#1
0
        private static CudaParticle CreateParticle(StateProxy proxy)
        {
            var particle = new CudaParticle(proxy);

            particle.Init();
            return(particle);
        }
 protected GenericCudaAlgorithm(CudaParams parameters, StateProxy proxy)
 {
     Proxy = proxy;
     ParticlesCount = parameters.ParticlesCount;
     DimensionsCount = parameters.LocationDimensions;
     Iterations = parameters.Iterations;
     FitnessFunction = parameters.FitnessFunction;
     SyncWithCpu = parameters.SyncWithCpu;
     FunctionNumber = parameters.FunctionNumber;
     InstanceNumber = parameters.InstanceNumber;
     evalLogger = PsoServiceLocator.Instance.GetService<EvaluationsLogger>();
 }
 protected GenericCudaAlgorithm(CudaParams parameters, StateProxy proxy)
 {
     Proxy           = proxy;
     ParticlesCount  = parameters.ParticlesCount;
     DimensionsCount = parameters.LocationDimensions;
     Iterations      = parameters.Iterations;
     FitnessFunction = parameters.FitnessFunction;
     SyncWithCpu     = parameters.SyncWithCpu;
     FunctionNumber  = parameters.FunctionNumber;
     InstanceNumber  = parameters.InstanceNumber;
     evalLogger      = PsoServiceLocator.Instance.GetService <EvaluationsLogger>();
 }
示例#4
0
 public GriewankRosenbrockAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
 public LinearSlopeAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public LinearSlopeAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
 public LunacekBiRastriginAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public EllipsoidalAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
 public DifferentPowersAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#10
0
 private static GenericCudaAlgorithm CreateCudaAlgorithm(CudaParams parameters, StateProxy proxy)
 {
     return CudaAlgorithmFactory.AlgorithmForFunction(parameters, proxy);
 }
 public SharpRidgeAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
示例#12
0
 public DiscusAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public WeierstrassAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#14
0
 public KatsuuraAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public BuecheRastriginAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#16
0
 internal CudaParticle(StateProxy proxy)
 {
     _proxy = proxy;
 }
 public EllipsoidalRotatedAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public RosenbrockRotatedAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public RosenbrockRotatedAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
示例#20
0
 internal CudaParticle(StateProxy proxy)
 {
     _proxy = proxy;
 }
示例#21
0
 private static GenericCudaAlgorithm CreateCudaAlgorithm(CudaParams parameters, StateProxy proxy)
 {
     return(CudaAlgorithmFactory.AlgorithmForFunction(parameters, proxy));
 }
示例#22
0
 public DiscusAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
示例#23
0
 public GallagherAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#24
0
 public RastriginAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
 public AttractiveSectorAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#26
0
 public BentCigarAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#27
0
 public SphereAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
 public SharpRidgeAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#29
0
 public KatsuuraAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
 public StepEllipsoidAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#31
0
 public GallagherAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
示例#32
0
 public SchaffersAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public RastriginRotatedAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#34
0
 public SphereAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
示例#35
0
 public AttractiveSectorAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
 public GriewankRosenbrockAlgorithm(CudaParams parameters, StateProxy proxy)
     : base(parameters, proxy)
 {
 }
 public DifferentPowersAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
示例#38
0
 public SchaffersAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
示例#39
0
 public WeierstrassAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }
示例#40
0
 private static CudaParticle CreateParticle(StateProxy proxy)
 {
     var particle = new CudaParticle(proxy);
     particle.Init();
     return particle;
 }
示例#41
0
 public BentCigarAlgorithm(CudaParams parameters, StateProxy proxy) : base(parameters, proxy)
 {
 }