home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d524 / kamin.lha / Kamin / src.lzh / code.smt.out < prev    next >
Text File  |  1991-06-28  |  4KB  |  359 lines

  1. -> -> +1
  2. -> or
  3. -> and
  4. -> not
  5. -> <>
  6. -> <=
  7. -> divides
  8. -> mod
  9. -> > > gcd
  10. -> abs
  11. -> -> > > > > > > > > > > > > > > > > > > > > > > > > > initFinancialHistory
  12. receive:from:
  13. spend:for:
  14. cashOnHand
  15. totalReceivedFrom:
  16. totalSpentFor:
  17. FinancialHistory
  18. -> > mkFinancialHistory
  19. -> -> > > > > > > > > > > > > > > > initDeductibleHistory
  20. spend:Deduct:
  21. spend:for:deduct:
  22. totalDeductions
  23. DeductibleHistory
  24. -> > mkDeductibleHistory
  25. -> -> -> 0
  26.  
  27. -> 1
  28.  
  29. -> isNil
  30. -> notNil
  31. -> > > > > > > > > > > > > > > > > > > > > > > > > first
  32. next
  33. add:
  34. size
  35. isEmpty
  36. includes:
  37. Collection
  38. -> > > > > > > > initSet
  39. first
  40. next
  41. add:
  42. Set
  43. -> mkSet
  44. -> -> > > > > > > > > > > > > > > > > > > > > > > > > at:put:
  45. currentKey
  46. at:
  47. includesKey:
  48. indexOf:
  49. KeyedCollection
  50. -> -> > > > > > > > initAssociation
  51. fst
  52. snd
  53. fst:
  54. snd:
  55. Association
  56. -> -> mkAssociation
  57. -> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > initDictionary
  58. currentKey
  59. first
  60. next
  61. at:put:
  62. associationAt:
  63. Dictionary
  64. -> mkDictionary
  65. -> -> > > > > > > > > > > > > > > firstKey
  66. lastKey
  67. last
  68. at:
  69. SequenceableCollection
  70. -> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > car
  71. cdr
  72. initList
  73. add:
  74. car:
  75. cdr:
  76. first
  77. next
  78. firstKey
  79. lastKey
  80. currentKey
  81. at:put:
  82. removeFirst
  83. zerolist
  84. List
  85. -> mkList
  86. -> -> > > > > > > > > > > > > > > > > > > > > > > > > > > initArray
  87. size
  88. firstKey
  89. lastKey
  90. currentKey
  91. first
  92. next
  93. at:put:
  94. Array
  95. -> mkArray
  96. -> -> <userval>
  97.  
  98. -> 950
  99.  
  100. -> 1150
  101.  
  102. -> 1150
  103.  
  104. -> 1150
  105.  
  106. -> 1050
  107.  
  108. -> 1050
  109.  
  110. -> 1050
  111.  
  112. -> <userval>
  113.  
  114. -> 950
  115.  
  116. -> 1150
  117.  
  118. -> 1150
  119.  
  120. -> 1150
  121.  
  122. -> 0
  123.  
  124. -> 0
  125.  
  126. -> 100
  127.  
  128. -> 1050
  129.  
  130. -> 1050
  131.  
  132. -> 100
  133.  
  134. -> 100
  135.  
  136. -> 150
  137.  
  138. -> 950
  139.  
  140. -> 950
  141.  
  142. -> 150
  143.  
  144. -> 150
  145.  
  146. -> -> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > +
  147. negate
  148. *
  149. recip
  150. =
  151. <
  152. zero
  153. one
  154. print
  155. -
  156. /
  157. >
  158. +1
  159. sub1
  160. isZero
  161. isNegative
  162. abs
  163. sqr
  164. sqrt
  165. Number
  166. -> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > initFraction
  167. setFraction
  168. x
  169. y
  170. +
  171. negate
  172. *
  173. recip
  174. =
  175. <
  176. zero
  177. one
  178. print
  179. div-reduce
  180. sign-reduce
  181. Fraction
  182. -> mkFraction
  183. -> <userval>
  184.  
  185. -> <userval>
  186.  
  187. -> <userval>
  188.  
  189. -> 3437249
  190. 833049
  191. 833049
  192.  
  193. -> 3437249
  194.  
  195. -> 833049
  196.  
  197. -> -> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > initFloat
  198. mant
  199. exp
  200. +
  201. negate
  202. *
  203. recip
  204. zero
  205. one
  206. =
  207. <
  208. print
  209. isZero
  210. isNegative
  211. powerof10
  212. normalize
  213. Float
  214. -> mkFloat
  215. -> <userval>
  216.  
  217. -> <userval>
  218.  
  219. -> 4125
  220. -3
  221. -3
  222.  
  223. -> 4125
  224.  
  225. -> -3
  226.  
  227. -> -> > > > > > > > > > > > initialize
  228. report
  229. run
  230. Simulation
  231. -> > > > > > > > > > > > > > > > > > > > > > > > > > > initLabSimulation
  232. initialize
  233. report
  234. LabSimulation
  235. -> mkLabSimulation
  236. -> > > > > > > > > > > > initLab
  237. terminals-free?
  238. pick-terminal
  239. release-terminal
  240. Lab
  241. -> mkLab
  242. -> -> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > car
  243. cdr
  244. initList
  245. newEmptyCollection
  246. add:
  247. car:
  248. cdr:
  249. first
  250. next
  251. firstKey
  252. lastKey
  253. currentKey
  254. at:put:
  255. removeFirst
  256. zerolist
  257. List
  258. -> -> > > > > > > initQueue
  259. newEmptyCollection
  260. enqueue:
  261. Queue
  262. -> mkQueue
  263. -> > > > > > > > > > > > > initEventQueue
  264. scheduleEvent
  265. doNextEvent
  266. EventQueue
  267. -> mkEventQueue
  268. -> > > > > > > > > initPriorityQueue
  269. newEmptyCollection
  270. insert:
  271. PriorityQueue
  272. -> mkPriorityQueue
  273. -> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > initStudent
  274. takeAction
  275. arrive
  276. leaveTerminal
  277. grabTerminal
  278. scheduleLeaveTerminal
  279. scheduleNewArrival
  280. Student
  281. -> -> > > > > > initWaitTimeList
  282. next
  283. WaitTimeList
  284. -> mkWaitTimeList
  285. -> -> > > > > initServiceTimeList
  286. next
  287. ServiceTimeList
  288. -> mkServiceTimeList
  289. -> <userval>
  290.  
  291. -> simulation-done
  292. students-finishing
  293. 20
  294. left-on-queue
  295. 0
  296. Total-time-wasted:
  297. 18900
  298. Average-time-wasted:
  299. 945
  300. 945
  301.  
  302. -> simulation-done
  303.  
  304. -> students-finishing
  305.  
  306. -> 20
  307.  
  308. -> left-on-queue
  309.  
  310. -> 0
  311.  
  312. -> Total-time-wasted:
  313.  
  314. -> 18900
  315.  
  316. -> Average-time-wasted:
  317.  
  318. -> 945
  319.  
  320. -> -> > > > > initWaitTimeList
  321. next
  322. WaitTimeList
  323. -> mkWaitTimeList
  324. -> -> > > > > > > > initServiceTimeList
  325. next
  326. ServiceTimeList
  327. -> mkServiceTimeList
  328. -> <userval>
  329.  
  330. -> simulation-done
  331. students-finishing
  332. 30
  333. left-on-queue
  334. 8
  335. Total-time-wasted:
  336. 3090
  337. Average-time-wasted:
  338. 103
  339. 103
  340.  
  341. -> simulation-done
  342.  
  343. -> students-finishing
  344.  
  345. -> 30
  346.  
  347. -> left-on-queue
  348.  
  349. -> 8
  350.  
  351. -> Total-time-wasted:
  352.  
  353. -> 3090
  354.  
  355. -> Average-time-wasted:
  356.  
  357. -> 103
  358.  
  359. ->