public Network exportNetworkWithoutData(int network_id) { HydraNetworkUtil yh = new HydraNetworkUtil(network_id); MessagesWriter.writeMessage("Requesting the network from the server"); string hydra_respond = client.callServer(yh.getNetworkWithoutDataStatement()); MessagesWriter.writeMessage("network is recieved from the server"); return(getNetworkFromJsonString(hydra_respond)); }
public Network exportNetworkWithData(int network_id, int[] scenario_ids) { HydraNetworkUtil yh = new HydraNetworkUtil(network_id, scenario_ids); MessagesWriter.writeMessage("Requesting the network from the server"); string hydra_respond = client.callServer("get_network", yh.getNetworkParameters()); MessagesWriter.writeMessage("network is recieved from the server"); return(getNetworkFromJsonString(hydra_respond)); }