a multi-objective bisexual reproduction genetic algorithm for ...
a multi-objective bisexual reproduction genetic algorithm for ...
a multi-objective bisexual reproduction genetic algorithm for ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
127<br />
AvailableHost.java<br />
import java.util.*;<br />
public class AvailableHost{<br />
ArrayList ar;<br />
public AvailableHost() {<br />
ar = new ArrayList();<br />
}<br />
public void addHost( String Mds_Host_hn,<br />
int Mds_Cpu_speedMHz,<br />
int Mds_Memory_Ram_Total_freeMB,<br />
int Mds_Cpu_Total_count,<br />
int Mds_Cpu_Free_1minX100){<br />
ar.add(new Host( Mds_Host_hn,<br />
Mds_Cpu_speedMHz,<br />
Mds_Memory_Ram_Total_freeMB,<br />
Mds_Cpu_Total_count,<br />
Mds_Cpu_Free_1minX100));<br />
}<br />
public void displayHost(){<br />
<strong>for</strong>(int i=0; i