public static boolean initNetworkType(int networkType)
    {
        boolean result = true;
        switch(networkType)
        {
            case GridSimTags.NET_PACKET_LEVEL:
                GridSimCore.NETWORK_TYPE = GridSimTags.NET_PACKET_LEVEL;
                break;

            case GridSimTags.NET_FLOW_LEVEL:
                GridSimCore.NETWORK_TYPE = GridSimTags.NET_FLOW_LEVEL;
                break;

            case GridSimTags.NET_BUFFER_PACKET_LEVEL:
                GridSimCore.NETWORK_TYPE = GridSimTags.NET_BUFFER_PACKET_LEVEL;
                break;

            default:
                result = false;
                break;
        }

        return result;
    }