예제 #1
0
    // Use this for initialization
    void Show()
    {
        _smellAngleConfig.SetValue(_agentConfiguration.smellAngle * Mathf.Rad2Deg);

        _smellDistanceConfig.SetValue(_agentConfiguration.smellDistance);

        _pheromonePlacementRateConfig.SetValue(1.0f / _agentConfiguration.pheromonePlacementRate);
    }
예제 #2
0
 // Use this for initialization
 void Show()
 {
     _initialIntensityConfig.SetValue(_pheromoneConfiguration.initialIntensity);
     _diffusionConfig.SetValue(_pheromoneConfiguration.diffusionRate);
     _minConcentrationConfig.SetValue(_pheromoneConfiguration.minimumConcentration);
 }