|
Oct. 19th, 2010|10:12 am |
"two discrete states are the same = there is zero difference between two discrete states"
(define (same a b)
(not (different a b)))
(define (different a b)
(not (same a b))
tā? Vai arī tu piedāvāji:
(define (same a b)
(< (difference a b) epsilon))
Pēdējais ir iespējams tikai tad, ja a un b ir kvantificējami, un pat ja tie būtu kvantificējami, kā piemēram naudas daudzums, tu teiktu, ka divi dažādi bankas konti ar vienādu daudzumu naudas skaitīsies "the same"? |
|