亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? gridsim.java

?? 一個非常著名的網格模擬器,能夠運行網格調度算法!
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
            initCommonVariable(cal, traceFlag, numUser, reportWriterName);            GridStatistics stat = null;            // creates a GridStatistics object            stat = new GridStatistics("GridStatistics", "GridSim_stat.txt",true,                                      excludeFromFile, excludeFromProcessing);            // create a GIS object            gis_ = new GridInformationService("GridInformationService",                                              GridSimTags.DEFAULT_BAUD_RATE);            // set all the above entity IDs            gisID_ = gis_.get_id();            statsID_ = stat.get_id();        }        catch (Sim_exception s)        {            System.out.println("GridSim.init(): Unwanted errors happen");            System.out.println( s.getMessage() );        }        catch (Exception e)        {            System.out.println("GridSim.init(): Unwanted errors happen");            System.out.println( e.getMessage() );        }    }    /**     * Initializes GridSim parameters <b>without</b> any statistical     * entities. Therefore, if a simulation requires to record any statistical     * data, then need to use     * {@link #init(int, Calendar, boolean, String[], String[], String)}     * instead. This method should be called before creating any entities.     * <p>     * Inside this method, it will create the following GridSim entities:     * <ul>     *     <li>GridSimRandom     *     <li>GridInformationService     *     <li>GridSimShutdown     * </ul>     * <p>     * The Calendar object can be specified using     * <tt>Calendar.getInstance()</tt> to denote the start of the simulation     * time.     * This simulation time is <b>very important</b> in handling     * advanced reservations functionalities.     *     * @param numUser  the number of User Entities created.     *                 This parameters indicates that     *                 {@link gridsim.GridSimShutdown} first waits for     *                 User Entities's END_OF_SIMULATION signal before     *                 issuing terminate signal to other entities     * @param cal          starting time for this simulation. If it is     *        <tt>null</tt>, then the time will be taken from     *        <tt>Calendar.getInstance()</tt>     * @param traceFlag    true if GridSim trace need to be written     * @see gridsim.GridSimShutdown     * @see gridsim.GridInformationService     * @see gridsim.GridSimRandom     * @see gridsim.GridSim#init(int,Calendar,boolean,String[],String[],String)     * @pre numUser >= 0     * @post $none     */    public static void init(int numUser, Calendar cal, boolean traceFlag)    {        try        {            initCommonVariable(cal, traceFlag, numUser, null);            // create a GIS object            gis_ = new GridInformationService("GridInformationService",                                              GridSimTags.DEFAULT_BAUD_RATE);            // set all the above entity IDs            gisID_ = gis_.get_id();        }        catch (Sim_exception s)        {            System.out.println("GridSim.init(): Unwanted errors happen");            System.out.println( s.getMessage() );        }        catch (Exception e)        {            System.out.println("GridSim.init(): Unwanted errors happen");            System.out.println( e.getMessage() );        }    }    /**     * Initializes GridSim parameters <b>without</b> any statistical     * entities. Therefore, if a simulation requires to record any statistical     * data, then need to use     * {@link #init(int, Calendar, boolean, String[], String[], String)}     * instead. This method should be called before creating any entities.     * <p>     * Inside this method, it will create the following GridSim entities:     * <ul>     *     <li>GridSimRandom     *     <li>GridInformationService -- if the parameter <tt>gis</tt> set to     *         <tt>true</tt>. <br>     *         NOTE: If you want to use your own GIS entity, you need     *         to set <tt>gis</tt> parameter to <tt>false</tt>. Then, use     *         {@link #setGIS(GridInformationService)} method before running     *         or starting the simulation.     *     <li>GridSimShutdown     * </ul>     * <p>     * The Calendar object can be specified using     * <tt>Calendar.getInstance()</tt> to denote the start of the simulation     * time.     * This simulation time is <b>very important</b> in handling     * advanced reservations functionalities.     *     * @param numUser  the number of User Entities created.     *                 This parameters indicates that     *                 {@link gridsim.GridSimShutdown} first waits for     *                 all user entities's END_OF_SIMULATION signal before     *                 issuing terminate signal to other entities     * @param cal          starting time for this simulation. If it is     *        <tt>null</tt>, then the time will be taken from     *        <tt>Calendar.getInstance()</tt>     * @param traceFlag  <tt>true</tt> if GridSim trace need to be written     * @param gis        <tt>true</tt> if you want to use a <b>DEFAULT</b>     *                   {@link gridsim.GridInformationService} entity.     * @see gridsim.GridSimShutdown     * @see gridsim.GridInformationService     * @see gridsim.GridSimRandom     * @see gridsim.GridSim#setGIS(GridInformationService)     * @see gridsim.GridSim#init(int,Calendar,boolean,String[],String[],String)     * @pre numUser >= 0     * @post $none     */    public static void init(int numUser, Calendar cal, boolean traceFlag,                            boolean gis)    {        try        {            initCommonVariable(cal, traceFlag, numUser, null);            if (gis == true)            {                // create a GIS object                gis_ = new GridInformationService("GridInformationService",                                    GridSimTags.DEFAULT_BAUD_RATE);                // set all the above entity IDs                gisID_ = gis_.get_id();            }        }        catch (Sim_exception s)        {            System.out.println("GridSim.init(): Unwanted errors happen");            System.out.println( s.getMessage() );        }        catch (Exception e)        {            System.out.println("GridSim.init(): Unwanted errors happen");            System.out.println( e.getMessage() );        }    }    /**     * Sets a <tt>GridInformationService</tt> (GIS) entity.     * This method is useful is you write a different type of GIS entity.     * This method must be called before {@link #startGridSimulation()} method.     * @param gis  a GIS object     * @return <tt>true</tt> if successful, <tt>false</tt> otherwise     * @pre gis != null     * @post $none     * @see gridsim.GridSim#startGridSimulation()     */    public static boolean setGIS(GridInformationService gis)    {        if (gis == null) {            return false;        }        gis_ = gis;        gisID_ = gis.get_id();        return true;    }    /**     * Initializes all the common attributes     * @param cal   the starting time for this simulation. If it is     *        <tt>null</tt>, then the time will be taken from     *        <tt>Calendar.getInstance()</tt>.     * @param traceFlag   true if GridSim trace need to be written     * @throws Exception This happens when creating this entity before     *                   initializing GridSim package or this entity name is     *                   <tt>null</tt> or empty     * @pre $none     * @post $none     */    private static void initCommonVariable(Calendar cal, boolean traceFlag,               int numUser, String reportWriterName) throws Exception    {        // NOTE: the order for the below 3 lines are important        Sim_system.initialise();        Sim_system.set_trc_level(1);        Sim_system.set_auto_trace(traceFlag);        // Set the current Wall clock time as the starting time of simulation        calendar_ = cal;        if (cal == null) {            calendar_ = Calendar.getInstance();        }        SimulationStartDate = calendar_.getTime();        rand = new GridSimRandom();        // creates a GridSimShutdown object        GridSimShutdown shutdown = new GridSimShutdown("GridSimShutdown",                                              numUser, reportWriterName);        shutdownID_ = shutdown.get_id();    }    /**     * Starts the execution of GridSim simulation.     * It waits for complete execution of all entitities, i.e. until     * all entities threads reach non-RUNNABLE state by exiting from the     * <tt>body()</tt> method. Then, it kills threads of all entities.     * <p>     * <b>Note</b>: This method should be called after all the entities     *              have been setup and added, and their ports are linked.     * @deprecated As of GridSim 2.1, replaced by {@link #startGridSimulation()}     * @throws NullPointerException This happens when creating this entity     *               before initializing GridSim package or this entity name is     *               <tt>null</tt> or empty     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @pre $none     * @post $none     */    public static void Start() throws NullPointerException {        startGridSimulation();    }    /**     * Starts the execution of GridSim simulation.     * It waits for complete execution of all entitities, i.e. until     * all entities threads reach non-RUNNABLE state by exiting from the     * <tt>body()</tt> method. Then, it kills threads of all entities.     * <p>     * <b>Note</b>: This method should be called after all the entities     *              have been setup and added, and their ports are linked.     * @throws NullPointerException This happens when creating this entity     *              before initializing GridSim package or this entity name is     *              <tt>null</tt> or empty     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @pre $none     * @post $none     */    public static void startGridSimulation() throws NullPointerException    {        System.out.println("Starting GridSim version 4.0");        try {            Sim_system.run();        }        catch (Sim_exception e)        {            throw new NullPointerException("GridSim.startGridSimulation() :" +                    " Error - you haven't initialized GridSim.");        }    }    /**     * Gets the current simulation time (based on SimJava simulation clock)     * @return The current simulation time from the simulation clock     * @deprecated As of GridSim 2.1, replaced by {@link #clock()}     * @see eduni.simjava.Sim_system#clock()     * @pre $none     * @post $result >= 0.0     */    public static double Clock() {        return clock();    }    /**     * Gets the current simulation time (based on SimJava simulation clock)     * @return The current simulation time from the simulation clock     * @see eduni.simjava.Sim_system#clock()     * @pre $none     * @post $result >= 0.0     */    public static double clock() {        return Sim_system.clock();    }    /**     * Causes the entity to hold for <tt>duration</tt> units of simulation time     * @param duration the amount of time to hold     * @deprecated As of GridSim 2.1, replaced by {@link #gridSimHold(double)}     * @pre $none     * @post $none     */    public void GridSimHold(double duration) {        gridSimHold(duration);    }    /**     * Causes the entity to hold for <tt>duration</tt> units of simulation time     * @param duration the amount of time to hold     * @pre $none     * @post $none     */    public void gridSimHold(double duration)    {        // if duration is -ve, then no use to hold -ve time.        if (duration < 0.0) {            return;        }        super.sim_process(duration);    }    /**     * Stops Grid Simulation (based on SimJava Sim_system.run_stop()).     * This should be ony called if any of the user defined entities     * <b>explicitly</b> want     * to terminate simulation during execution.     * @see eduni.simjava.Sim_system#run_stop()     * @deprecated As of GridSim 2.1, replaced by {@link #stopGridSimulation()}     * @throws NullPointerException This happens when creating this entity     *               before initializing GridSim package or this entity name is     *               <tt>null</tt> or empty     * @see gridsim.GridSim#init(int, Calendar, boolean, String[], String[],     *          String)     * @pre $none     * @post $none     */    public static void Stop() throws NullPointerException {        stopGridSimulation();    }    /**     * Stops Grid Simulation (based on SimJava Sim_system.run_stop()).     * This should be ony called if any of the user defined entities     * <b>explicitly</b> want     * to terminate simulation during execution.     * @throws NullPointerException This happens when creating this entity     *                before initializing GridSim package or this entity name is

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久一本精品| 老司机精品视频导航| 麻豆中文一区二区| 91女人视频在线观看| 欧美videos中文字幕| 亚洲情趣在线观看| 国产东北露脸精品视频| 欧美日韩一区精品| 国产精品久线观看视频| 麻豆精品一二三| 欧美亚州韩日在线看免费版国语版| 精品欧美一区二区在线观看| 亚洲国产美女搞黄色| 波多野结衣中文字幕一区二区三区| 91精品国产色综合久久不卡蜜臀| 亚洲欧美成人一区二区三区| 国产成人免费视频| 日韩亚洲国产中文字幕欧美| 午夜亚洲福利老司机| hitomi一区二区三区精品| 国产午夜精品一区二区三区四区 | 日本丶国产丶欧美色综合| 久久综合视频网| 热久久一区二区| 欧美影院一区二区| 亚洲人成电影网站色mp4| 国产91精品久久久久久久网曝门| 精品国一区二区三区| 日日骚欧美日韩| 欧美精品九九99久久| 亚洲成人动漫在线免费观看| 欧美午夜一区二区三区| 尤物av一区二区| 色综合激情五月| 亚洲丝袜制服诱惑| 91浏览器打开| 亚洲欧美日韩一区二区| 99精品国产一区二区三区不卡| 国产午夜精品一区二区三区四区| 国产精品99久久久久久宅男| 久久老女人爱爱| 国产精品 欧美精品| 欧美精品一区二| 国产一区二区不卡老阿姨| 久久综合色8888| 国产高清久久久| 国产日韩在线不卡| zzijzzij亚洲日本少妇熟睡| 1区2区3区国产精品| 色久优优欧美色久优优| 亚洲永久免费av| 在线成人小视频| 日本不卡一区二区三区 | 国产黄色成人av| 国产欧美日韩亚州综合| 国产精品羞羞答答xxdd| 国产精品污www在线观看| 成人午夜视频福利| 亚洲丝袜美腿综合| 久久这里只精品最新地址| 国产盗摄精品一区二区三区在线| 欧美国产综合一区二区| 99精品视频在线免费观看| 亚洲欧美一区二区三区国产精品| 欧美羞羞免费网站| 日本vs亚洲vs韩国一区三区| 欧美成人性战久久| 成人性生交大片免费看视频在线 | 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 亚洲一卡二卡三卡四卡| 欧美一区二区大片| 国产中文字幕一区| 亚洲天堂2016| 这里只有精品电影| 国产精品88av| 一区二区三区成人在线视频| 欧美一区二区黄| 国产传媒日韩欧美成人| 亚洲精品videosex极品| 欧美一区二区高清| 成人综合婷婷国产精品久久蜜臀| 一区二区三区国产豹纹内裤在线| 日韩午夜三级在线| 成人影视亚洲图片在线| 亚洲成av人在线观看| www欧美成人18+| 日本久久精品电影| 精品在线播放免费| 一区二区三区在线免费| 日韩一区二区三区视频在线| 丁香五精品蜜臀久久久久99网站 | 国产亚洲一区二区三区四区| 色乱码一区二区三区88| 麻豆成人av在线| 国产精品国产自产拍高清av| 欧美精品第1页| 成人综合在线视频| 日韩高清在线一区| 一区精品在线播放| 欧美v亚洲v综合ⅴ国产v| 色综合久久久久网| 久久国产视频网| 亚洲资源中文字幕| 国产人久久人人人人爽| 在线成人av影院| 成人av网在线| 久久精工是国产品牌吗| 亚洲综合图片区| 国产欧美一区二区精品性色超碰| 欧美日韩精品一区二区三区| 成人性视频网站| 久久精品国内一区二区三区| 怡红院av一区二区三区| 国产午夜精品理论片a级大结局| 欧美在线一二三四区| 大胆亚洲人体视频| 精品一区二区免费| 天天综合网天天综合色| 综合欧美亚洲日本| 精品处破学生在线二十三| 欧美图片一区二区三区| 成人av高清在线| 国产在线视频一区二区三区| 亚洲成人av在线电影| 亚洲欧洲综合另类| 国产三级精品在线| 精品99久久久久久| 欧美日本韩国一区二区三区视频| 91一区一区三区| 国产乱妇无码大片在线观看| 青娱乐精品视频| 亚洲一级二级三级| 一区二区三区在线视频观看| 国产精品久久久久国产精品日日| 精品国产自在久精品国产| 欧美日韩精品高清| 欧美亚洲综合色| 91小视频在线免费看| 成人动漫一区二区在线| 国产大陆精品国产| 国产乱妇无码大片在线观看| 蜜臀va亚洲va欧美va天堂| 天天色图综合网| 亚洲成人久久影院| 亚洲尤物在线视频观看| 一区二区三区国产精品| 亚洲精品欧美综合四区| 1024精品合集| 最新高清无码专区| 国产精品久久久久桃色tv| 国产精品久久久久一区| 国产精品―色哟哟| 国产精品不卡一区二区三区| 日本一区二区三区视频视频| 久久精品人人做人人爽人人| 久久精品人人做人人综合| 久久欧美中文字幕| 久久免费视频一区| 久久久久久综合| 精品福利在线导航| 国产午夜亚洲精品理论片色戒| 国产亚洲精品7777| 中文字幕+乱码+中文字幕一区| 中文字幕精品一区二区三区精品| 国产精品美女久久久久aⅴ国产馆| 欧美高清一级片在线观看| 国产精品人成在线观看免费 | 欧美一区二区在线不卡| 日韩一区二区视频在线观看| 日韩免费看网站| 久久综合999| 亚洲国产精品成人久久综合一区| 亚洲国产高清aⅴ视频| 国产精品久久久久影院亚瑟| 亚洲美女免费在线| 午夜精品久久久久久久蜜桃app| 日韩成人一区二区三区在线观看| 免费不卡在线观看| 国产美女视频91| 成人黄色片在线观看| 色先锋久久av资源部| 欧美日韩久久久一区| 精品欧美一区二区三区精品久久| 国产亚洲欧洲997久久综合| 1区2区3区欧美| 亚洲福利一区二区三区| 蜜桃久久久久久| 国产成人综合亚洲91猫咪| 色一情一乱一乱一91av| 91精品国产综合久久精品app | 色老汉一区二区三区| 欧美日韩高清影院| 2017欧美狠狠色| 自拍偷在线精品自拍偷无码专区| 香蕉久久一区二区不卡无毒影院 | 一区二区三区精品在线| 日韩影视精彩在线| 国产成a人亚洲精| 日本韩国欧美在线| 精品国产污污免费网站入口|