Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

urgent

  Asked By: Pranati    Date: Mar 30    Category: Java    Views: 2474
  

1.here a unit matrix
100
010
001
how do i convert each row of this matrix in decimal form?i.e
100 means 4,010 means 2.and the result will be <4,2,1>


2.how can i write a code of assignment problem using genetic algorithm?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Abhishek Singh     Answered On: May 14

Start with code to do the conversion of the bits in to decimal. Once you have that code, feed p(2) to the end in to that, divide the result by 2^n, and then use the first bit, p(1) to do the sign adjustment

 
Didn't find what you were looking for? Find more on urgent Or get search suggestion and latest updates.




Tagged: