Esempio n. 1
0
 private void Awake()
 {
     brainNN_compML           = FindObjectOfType <BrainNN_CompML>();
     scoreCalculator          = FindObjectOfType <ScoreCalculator>();
     gamePopulationController = FindObjectOfType <GamePopulationController>();
     DNALength = gamePopulationController.ElementsCompositions.Count * NumberOfgenes;
 }
    private DataForNeuralNetwork_CompML dataNN; // this is scribtable object to train the model.. for the only weigths

    private void Start()
    {
        if (EnableLoadDataFromDataBase == true)
        {
            brainNN_compML = FindObjectOfType <BrainNN_CompML>();
            StartCoroutine(GetDataFromDatabase());
        }
    }