TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
isra sweileh
NA
35
21.9k
implementation algorithm
Jul 5 2013 11:00 AM
please help me to implementation this algorithm
int min-MaxSearch(node state)
{
temp=max(node state);
return the move that produces Successors of current state;
}
int max(state)
{
for(s is terminal state)
return Utility(state);
E=expand(state);
result=-9999
for(every state in E )
{
val=min(x);
if(val>result)result=val;
}
return result;
}
int minstate)
{
for(s is terminal state)
return Utility(state);
E=expand(state);
result=9999
for(every state in E )
{
val=max(x);
if(val<result)result=val;
}
return result;
}
Reply
Answers (
1
)
How implementation of MinManx function for Nim Game in C++ l
I am getting index out of range error message.. please help