User Tools

Site Tools


code:ga_scheduling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
code:ga_scheduling [2009/01/16 13:50] – Changed title pkubanekcode:ga_scheduling [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 15: Line 15:
 You need to fill **tickets** and **accounts** tables. You need to fill **tickets** and **accounts** tables.
  
-^ Field name ^ Description ^ +**Tickets** table contains those fields: 
-| schedticket_id     | integer                     not null + 
-| tar_id             | integer                     |  +^ Field name ^ Data type ^ Description ^ 
-| account_id         | integer                     |  +| schedticket_id     | integer                     unique ID of ticket - primary key  | 
-| obs_num            | integer                     |  +| tar_id             | integer                     | ID of target which belongs to the ticket 
-| sched_from         | timestamp without time zone |  +| account_id         | integer                     | ID of account - can be null if this ticket is out of accounting 
-| sched_to           | timestamp without time zone |  +| obs_num            | integer                     | Maximal number of observations - scheduler will try to schedule only observations bellow this number 
-| sched_interval_min | interval                    |  +| sched_from         | timestamp without time zone | Schedule observation from this time; if null, schedule anytime 
-| sched_interval_max | interval       +| sched_to           | timestamp without time zone | Schedule observation to this time; if null, schedule anytime 
 +| sched_interval_min | interval                    | Minimal interval between observations 
 +| sched_interval_max | interval       | Maximal interval between observations |
  
 ===== Using pyrts2 to preview schedules ===== ===== Using pyrts2 to preview schedules =====
  
  
-====== Obtaining and modifing code ======+====== Obtaining and modifying code ======
  
 The GA scheduler code currently lives only in [[http://rts-2.svn.sf.net/viewvc/rts-2/branches/rts-2/REL_0_8_0|REL_0_8_0]] branch. Merging to trunk is expected in a few weeks. To get the code, issue: The GA scheduler code currently lives only in [[http://rts-2.svn.sf.net/viewvc/rts-2/branches/rts-2/REL_0_8_0|REL_0_8_0]] branch. Merging to trunk is expected in a few weeks. To get the code, issue:
code/ga_scheduling.1232110227.txt.gz · Last modified: 2009/01/16 00:00 (external edit)