Examples of BombingPortPlan


Examples of groundTruthModule.datastructure.BombingPortPlan

                }
              }
            }
           
          } else if (ship.getTerroristPlan().getTerroristPlanType() == TerroristPlanType.BombingPort) {
            BombingPortPlan plan = (BombingPortPlan)ship.getTerroristPlan();
           
            System.out.println("Bombing Port Plan: ");
           
            System.out.println("\tShip "
                + db.getShips().indexOf(plan.getShip())
                + " is the suicide ship of type "
                + plan.getShip().getShipType()
                + (plan.getShip().isHijacked() ? " and was hijacked " : " and has a terrorist crew member."));
           
            if (!plan.getShip().isHijacked()) {
              for (PersonEntity person : plan.getShip().getCrew()) {
                if (person.isTerrorist()) {
                  System.out.println("\t\tPerson " + db.getPeople().indexOf(person)
                      + " is a terrorist crew member.");
                }
              }
View Full Code Here

Examples of groundTruthModule.datastructure.BombingPortPlan

        // Let's assume exchange illicit cargo is twice more likely than
        // bombing a port
        if (Math.random() <= 2 / 3f) {
          generateExchangeIllicitCargoPlan(new ExchangeIllicitCargoPlan());
        } else {
          generateBombingPortPlan(new BombingPortPlan());
        }

      }

      // Simulate data for non-naval ships without terrorist plan
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.