Java编程代写 | A3 Repo for CS6310

本次美国作业案例是一个Java编程代写作业

To Install Docker go to:

https://docs.docker.com/get-docker/

Note please run all scripts from the project
root directory

To build:

To test a specific scenario against the initial jar

docker build -t gatech/dronedelivery -f Dockerfile ./

Mac / Linux

./scripts/test.sh <scenario>

Windows

.\scripts\test.sh <scenario>

To batch run the test scenarios

Mac / Linux

./scripts/batch.sh

To run in interactive mode

Step 1 from the host

docker run -ti gatech/dronedelivery sh

Step 2 from the container

java -jar drone_delivery.jar

Step 3 from the jar

From there you can run any of the commands listed from the assignment:

make_store,<Store>,<InitialRevenue>
display_stores
sell_item,<Store>,<Item>,<Weight>
display_items,<Store>
make_pilot,<Account>,<FirstName>,<LastName>,<PhoneNumber>,<TaxId>,
<LicenseId>,<ExperienceLevel>
display_pilots
make_drone,<Store>,<DroneId>,<WeightCapacity>,<NumberOfDeliveries>
display_drones,<Store>
fly_drone,<Store>,<DroneId>,<PilotAccount>
make_customer,<Account>,<FirstName>,<LastName>,<PhoneNumber>,
<CustomerRating>,<Credits>
display_customers
start_order,<Store>,<OrderId>,<DroneId>,<CustomerAccount>
display_orders,<Store>
request_item,<Store>,<OrderId>,<Item>,<Quantity>,<UnitPrice>
purchase_order,<Store>,<OrderId>
cancel_order,<Store>,<OrderId>
stop

To run & test in interactive mode

java -jar drone_delivery.jar < commands_00.txt >
drone_delivery_00_results.txt
diff -s drone_delivery_00_results.txt
drone_delivery_initial_00_results.txt > results_00.txt
cat results_00.txt


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: itcsdx@outlook.com  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

发表评论