sign up I login
 advanced
refer a friend - earn nickels!!

Ask & Discuss Questions with Community & Experts

Moderation Team
 90 chars left    advanced
Ask iit jee aieee pet cbse icse state board community Community Discussion Question: can any 1 explain mini-max algorithm
Forum Index -> Algebra like the article? email it to a friend.  
Author Message
sourab_MCA (19)

Scorching goIITian

Olaaa!! Perrrfect answer. 3  [5 rates]

sourab_MCA's Avatar

total posts: 221    
offline Offline

i want to use it for programming AI(artificial intelligence) in Tic-Tac-Toe game.and plz dont refer me to wikipedia


 


thnx

    
pramod6990 (945)

Blazing goIITian

Olaaa!! Perrrfect answer. 173  [213 rates]

pramod6990's Avatar

total posts: 336    
offline Offline

jus. givin it a try...frm wat i learnt in class 10th.......an array of N elements "arr"........


define variable MAX.....


max = arr[0];


for( int i=0 ; i<=N-1; i++)


if ( max> arr[i])


{


max= arr[i];


}


println( max);


might seem crap but just gave it a short.......


"Logic is the systematic way of reaching the wrong conclusion with confidence" lol.....
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
sourab_MCA (19)

Scorching goIITian

Olaaa!! Perrrfect answer. 3  [5 rates]

sourab_MCA's Avatar

total posts: 221    
offline Offline
dude, i didn't asked how to find maximum among 10 nos.
i asked mini-max algo. this is related to combinatorial game theory.
if it were soooo easy i wud not have asked
 this reply: 0 points  (with Olaaa!! Perrrfect answer.   in 0 votes )   [?]
 
You have to be logged on to rate
  
 
Forum Index -> Algebra
Go to:   

Top Offers for goIITians
Correspondence Courses
Brilliant Tutorials
Narayana Institute
Aakash Institute
Classroom/Crash Courses
Narayana - Kota , Delhi , Others
Brilliant Tutorials - Class , Crash
Aakash Institute - Medical , Engg
Online Test Series
Brilliant Tutorials
Narayana Institute
Aakash Institute
Mahesh Tutorials
AMITY      Sri Chaitanya