Files
        @ 1cb6f6105b45
    
        
              Branch filter: 
        
    Location: SlatePermutate/schedulecreator.php - annotation
        
            
            1cb6f6105b45
            3.0 KiB
            text/x-php
        
        
    
    Use the Affero General Public License, as agreed upon by Ethan Zonca, Nathan Gelderloos, and Nathan Phillip Brink (myself).
    27edaecc0d90 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 1cb6f6105b45 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 27edaecc0d90 28ba454c4ff1 27edaecc0d90 12553a2740cb 27edaecc0d90 27edaecc0d90 12553a2740cb 12553a2740cb 27edaecc0d90 27edaecc0d90 12553a2740cb 12553a2740cb 27edaecc0d90 27edaecc0d90 12553a2740cb 27edaecc0d90 27edaecc0d90 12553a2740cb 12553a2740cb 12553a2740cb 27edaecc0d90 27edaecc0d90 12553a2740cb 12553a2740cb 12553a2740cb 12553a2740cb 27edaecc0d90 27edaecc0d90 12553a2740cb 12553a2740cb 12553a2740cb 12553a2740cb 12553a2740cb 12553a2740cb 12553a2740cb 12553a2740cb 27edaecc0d90 27edaecc0d90 27edaecc0d90  | <?php
/*
 * Copyright 2010 Nathan Gelderloos, Ethan Zonca, Nathan Phillip Brink
 *
 * This file is part of SlatePermutate.
 *
 * SlatePermutate is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * SlatePermutate is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with SlatePermutate.  If not, see <http://www.gnu.org/licenses/>.
 */
include_once 'class.schedule.php';
include_once 'class.class.php';
include_once 'class.section.php';
//**************************************************
// ScheduleCreator.java	Author: Nathan Gelderloos
// 
// Creates a list of classes.
//**************************************************
   
         $allClasses = new Schedule("Fall 2010");
  	
         $allClasses->addClass("CS 104");
         $allClasses->addSection("CS 104", "A", 1030, 1120, 'th');
      	
         $allClasses->addClass("Engr 209");
         $allClasses->addSection("Engr 209", "A", 1330, 1420, 'mtwf');
         $allClasses->addSection("Engr 209", "B", 1430, 1520, 'mtwf');
      	
         $allClasses->addClass("Engr 209L");
         $allClasses->addSection("Engr 209L", "A", 1830, 2120, 'h');
         $allClasses->addSection("Engr 209L", "B", 1830, 2120, 'w');
      	
         $allClasses->addClass("Math 231");
         $allClasses->addSection("Math 231", "A", 800, 850, 'mtwf');
      	
         $allClasses->addClass("Phys 235");
         $allClasses->addSection("Phys 235", "A", 900, 950, 'mwf');
         $allClasses->addSection("Phys 235", "B", 1130, 1220, 'mwf');
         $allClasses->addSection("Phys 235", "C", 1230, 1320, 'mwf');
      	
         $allClasses->addClass("Phys 235L");
         $allClasses->addSection("Phys 235L", "A", 1430, 1720, 'm');
         $allClasses->addSection("Phys 235L", "B", 1430, 1720, 'w');
         $allClasses->addSection("Phys 235L", "C", 830, 1120, 'h');
         $allClasses->addSection("Phys 235L", "D", 1230, 1520, 'h');
      	
         $allClasses->addClass("Rel 131");
         $allClasses->addSection("Rel 131", "A", 800, 850, 'mwf');
         $allClasses->addSection("Rel 131", "B", 900, 950, 'mwf');
         $allClasses->addSection("Rel 131", "C", 1330, 1420, 'mwf');
         $allClasses->addSection("Rel 131", "D", 1430, 1520, 'mwf');
         $allClasses->addSection("Rel 131", "E", 835, 950, 'th');
         $allClasses->addSection("Rel 131", "F", 1030, 1145, 'th');
         $allClasses->addSection("Rel 131", "G", 1205, 1320, 'th');
         $allClasses->addSection("Rel 131", "H", 1330, 1445, 'th');
      	       
         $allClasses->findPossibilities();
         $allClasses->writeoutTables();
 |