import java.io.File; import java.io.FileNotFoundException; import java.util.*; /* * Version 1.0 */ public class Assign4 { /* insert your name here */ /* * A constructor is provided that has the capability of setting * the debug flag. */ boolean debug; public Assign4 (boolean debug){ this.debug = debug; } /** * pre: The input file contains int n: number of points, followed by * double x and double y coordinates of the n points * post: a Cloud containing a set of valid Points) is returned * * read inputs, create Points, and put them in a Cloud, if appropriate * return the Cloud */ public Cloud readPoints(Scanner ptData){ System.out.println("readPoints not implemented yet"); return null; } public static void main(String[] args) throws FileNotFoundException { // TODO read point data, create points, create point set // print statistics Assign4 A4 = new Assign4 (false); Scanner ptData = new Scanner(new File(args[0])); Cloud testCloud = A4.readPoints(ptData); /* * Place your test cases here */ } }