CS-171 Discussion Week3.

Slides:



Advertisements
Similar presentations
Designing a Program & the Java Programming Language
Advertisements

The map and reduce functions in MapReduce are easy to test in isolation, which is a consequence of their functional style. For known inputs, they produce.
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
LECTURE 1 CMSC 201. Overview Goal: Problem solving and algorithm development. Learn to program in Python. Algorithm - a set of unambiguous and ordered.
Introduction To C++ Programming 1.0 Basic C++ Program Structure 2.0 Program Control 3.0 Array And Structures 4.0 Function 5.0 Pointer 6.0 Secure Programming.
DIRAC API DIRAC Project. Overview  DIRAC API  Why APIs are important?  Why advanced users prefer APIs?  How it is done?  What is local mode what.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
Object-Oriented Programming Dr. Napoleon H. Reyes, Ph.D. Computer Science Institute of Information and Mathematical Sciences Rm QA, IIMS, Albany.
1 Project 5: Median. 2 The median of a collection of numbers is the member for which there are an equal number less than or equal and greater than or.
1 Programming Languages Tevfik Koşar Lecture - II January 19 th, 2006.
The RunTimeTester - where to now? Eric NZUOBONTANE Peter SHERWOOD Brinick SIMMONS 29 th July 2004.
Mastering Char to ASCII AND DOING MORE RELATED STRING MANIPULATION Why VB.Net ?  The Language resembles Pseudocode - good for teaching and learning fundamentals.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
IR Homework #2 By J. H. Wang Mar. 31, Programming Exercise #2: Query Processing and Searching Goal: to search relevant documents for a given query.
Data Structures Using Java1 Chapter 2 Inheritance and Exception Handling.
Chapter 12 Handling Exceptions and Events. Chapter Objectives Learn what an exception is Become aware of the hierarchy of exception classes Learn about.
CS121 Quiz 3 Fall 2012 Quiz Tips. Quiz 1 Tips Question 1 From the many calculation choices, use eval to calculate the dependent variable P(s), but use.
IR Homework #1 By J. H. Wang Mar. 16, Programming Exercise #1: Vector Space Retrieval - Indexing Goal: to build an inverted index for a text collection.
IR Homework #1 By J. H. Wang Mar. 5, Programming Exercise #1: Indexing Goal: to build an index for a text collection using inverted files Input:
Server Error in '/mapguide2008/mapviewerdwf' Application Compilation.
Project 2: Classification Using Genetic Programming Kim, MinHyeok Biointelligence laboratory Artificial.
Chapter 1 Computers, Compilers, & Unix. Overview u Computer hardware u Unix u Computer Languages u Compilers.
Instructions for ConnectK Game AI project
Functions  A Function is a self contained block of one or more statements or a sub program which is designed for a particular task is called functions.
CS210: Programming Languages Overview of class Dr. Robert Heckendorn.
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
IR Homework #1 By J. H. Wang Mar. 25, Programming Exercise #1: Indexing Goal: to build an index for a text collection using inverted files Input:
CS 171: Intro to AI Discussion Week 2 Jan 15 th 2016.
1 Project 5: Leap Years. 222 Leap Years Write a program that reads an integer value from the user representing a year and determines if the year is a.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Alien and GSI Marian Ivanov. Outlook GSI experience Alien experience Proposals for further improvement.
1 Week 8 Creating Simple Shell Scripts. 2 Chapter Objectives  In this chapter, you will :  Learn how to create Shell Scripts  Commenting / Making Portable.
ECE 544 Software Project 1 Kuo-Chun Huang (KC). Environment Linux (Ubuntu or others) Windows with Cygwin
IR Homework #2 By J. H. Wang Apr. 13, Programming Exercise #2: Query Processing and Searching Goal: to search for relevant documents Input: a query.
Software Engineering Algorithms, Compilers, & Lifecycle.
Starting Analysis with Athena (Esteban Fullana Torregrosa) Rik Yoshida High Energy Physics Division Argonne National Laboratory.
IR Homework #2 By J. H. Wang May 9, Programming Exercise #2: Text Classification Goal: to classify each document into predefined categories Input:
DEBUG.
ICS143a 2017 Programming Assignment
Why don’t programmers have to program in machine code?
EGR 115 Introduction to Computing for Engineers
CSC 321: Data Structures Fall 2016
Chapter 7 Text Input/Output Objectives
Chapter 7 Text Input/Output Objectives
CSc 2310 Principles of Programming (Java)
Introduction to Advanced Java Programming
Getting Started with R.
Work report Xianghu Zhao Nov 11, 2014.
Chapter 7 Text Input/Output Objectives
Eclipse Navigation & Usage.
CSC 321: Data Structures Fall 2015
Big Data Analytics: HW#3
Cse 373 May 15th – Iterators.
Parser and Scanner Generation: An Introduction
Algorithm and Ambiguity
What is Bash Shell Scripting?
Java Intro III.1 (Fr Feb 23).
Final Project Details Note: To print these slides in grayscale (e.g., on a laser printer), first change the Theme Background to “Style 1” (i.e., dark.
Packages and Interfaces
Sridhar Narayan Java Basics Sridhar Narayan
Lecture 11 Objectives Learn what an exception is.
Week 1 – Lesson 2: Creating Shell Scripts, Linux Commands
CSC 321: Data Structures Fall 2018
The site to download BALBES:
Review of Previous Lesson
Review of Previous Lesson
Java Programming: From Problem Analysis to Program Design, 4e
SPL – PS1 Introduction to C++.
CHAPTER 6 Testing and Debugging.
Presentation transcript:

CS-171 Discussion Week3

Project Dues Sun 31 Jan Sun 14 Feb Sun21 Feb Sun 28 Feb Sun6 Mar Problem Generator Backtracking Search Sun 14 Feb Forward Checking Sun21 Feb AC (ACP/ MAC) Sun 28 Feb MRV & DH Sun6 Mar LCV

executables Java C++ Python java monsterSudokuSolver <input_format> java version 1.7.0_85 C++ monsterSudokuSolver <input_format> gcc version 4.4.7 C++11 is supported since gcc 4.7 and gcc 4.4 has C++0x support Python python monsterSudokuSulver <input_format> python version 2.6.6

input parameters <input_file_name> <output_file_name> <timeout in seconds> <options> < options > [GEN | BT | FC | ACP | MAC | MRC | DH | LCC] We will run your executable as… (any valid combination should be valid) $ monsterSudokuSolver npqm.txt problem1.txt 60 GEN $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT FC $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT ACP $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT MAC $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT FC MRV $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT FC DH $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT FC MRV DH $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT MAC MRV $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT MAC DH $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT MAC MRV DH $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT ACP MRV $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT ACP DH $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT ACP MRV DH $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT FC MRV DH LCV $ monsterSudokuSolver problem1.txt log_problem1.txt 60 BT MAC MRV DH LCV

submissions LastName_UCINumericID_TeamName.zip bin src doc Single executable or main script (lib, other scripts should be located in subfolders as lib, packages…) Replace older one with newer ones src Codes (we will compile your code directly) doc Reports Progress report for every submission Final report

reports progress report per every submission Final report Scope Main task such as implementing generator, backtracking search, etc Progress List of coding progress Designed XXX, implemented XXX, in a structured manner Problems & Questions … that have arisen doing your work Results use provided test scripts or your own List of changes since last version Final report We will release it next time

grading Final report 25 % Progress report 10 % (2 % each) Team Formation Extra 1 % GEN,BT 10 % FC 15 % ACP, MAC 15 % MRV, DH 15 % LCV 10 % Speed bonus points The Fastest 10% get 10 bonus points The second fastest 10 % get 9 bonus points … The lowest 10 % get 1 bonus point Your own design (not using provided java shell) Extra 15 % Should clearly mention it in progress report / final report Should provide distinctive features - cannot compile  0 score will be determined by fraction of test problems solved (e.g. if N tried and you solve half of them, you get half of the full credit) late submission rule applies

GEN Problem generator Your program produce text file If input M, N, P, Q is invalid output text file with a single line error: invalid input parameters Else If time out timeout Else Produce a problem file as specified

BT Backtracking search Your program read a problem file and produce a log file as TOTAL_START=<time>  starting time PREPROCESSING_START=<time>  AC preprocessing goes here PREPROCESSING_DONE =<time> SEARCH_START=<time> SEARCH_DONE=<time> STATUS=success | timeout | error SOLUTION=assignment NODE=<Number of nodes> DEADENDS=<Number of backtracks> If you find a solution before timeout, terminate your program !

Note Provided Java shell is not enough for the first submission. You should adapt desired input/output rules