public TyTaskNode(TySimTree tree, TyStateAnalyzer analyzer, PlayerTask task, float totalValue) { _tree = tree; _analyzer = analyzer; _task = task; _totalValue = totalValue; _visits = 0; }
private TycheAgent(TyStateWeights weights, bool heroBasedWeights, int episodeMultiplier, bool adjustEpisodeMultiplier) { _defaultEpisodeMultiplier = episodeMultiplier; _curEpisodeMultiplier = episodeMultiplier; _heroBasedWeights = heroBasedWeights; _analyzer = new TyStateAnalyzer(weights); _simTree = new TySimTree(); _random = new Random(); AdjustEpisodeMultiplier = adjustEpisodeMultiplier; }