03.01.2015 Views

a multi-objective bisexual reproduction genetic algorithm for ...

a multi-objective bisexual reproduction genetic algorithm for ...

a multi-objective bisexual reproduction genetic algorithm for ...

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!