AIMA.Core.Environment.Map.MapAgent.search C# (CSharp) 메소드

search() 보호된 메소드

protected search ( Problem problem ) : List
problem AIMA.Core.Search.Framework.Problem
리턴 List
	protected override List<Action> search(Problem problem) {
		List<Action> actions = new List<Action>();
		try {
            List<Action> sactions = _search.search(problem);
			foreach (Action action in sactions) {
				actions.Add(action);
			}
        }
        catch (System.Exception ex)
        {
            System.Diagnostics.Debug.WriteLine(ex.ToString());
		}
		return actions;
	}