我有一个关联列表如下:
(defparameter *experts2*
`(
;; direction
(:direction . ( (nn-direction-expert (process-signal) :number-of-neighbors 10)
(fn-direction-expert (process-signal) :number-of-neighbors 10) ))
;; evaluation
(:evaluation . (
;(avoid-line-crossing-evaluation-expert (process-signal))
(nn-single-evaluation-expert (candidate-point))
(fn-single-evaluation-expert (candidate-point))
;(nn-all-evaluation-expert (ranking))
))
;; coordination
(:coordination . (
;(ranking-process (candidate-point))
(action-process (candidate-point ranking))))))
我正在寻找一种方法,从 key=>value 列表中提取值并将它们放入一个新列表中,例如
(defparameter *experts*
`(
;; direction
(nn-direction-expert (process-signal) :number-of-neighbors 10)
(fn-direction-expert (process-signal) :number-of-neighbors 10)
;eher als evaluationsexperte
;(avoid-line-crossing-evaluation-expert (process-signal) )
;; evaluation
(nn-single-evaluation-expert (candidate-point))
(fn-single-evaluation-expert (candidate-point))
;(nn-all-evaluation-expert (ranking))
;; coordination
;(ranking-process (candidate-point))
(action-process (candidate-point ranking))
))
有什么建议么?谢谢你的帮助。
问候