Mac 및 Linux에서 알 수없는 지역 행성에 대한 질문, parsecs, 직경 및 온도 단위를 사용하여 숙제 또는 학교 수업/과제 프레젠테이션을하고 있습니다. . 행성 이름과 단위에 FuzzyVariable을 적용했습니다.Jess가 Linux 및 macOS에서 FuzzyVariable 패키지를 찾지 못했거나 찾지 못했습니다.
나는 (import nrc.fuzzy.*)
을 추가했습니다.
Jess reported an error in routine new
while executing (new nrc.fuzzy.FuzzyVariable "distanciaDeCoruscant" 0.0 30000.0 "parsec")
while executing definition for defglobal ?*gVarDistanciaDeCoruscant*
while executing (batch "/Users/UNISAL/Documents/AI/StarWars.clp").
Message: Class nrc.fuzzy.FuzzyVariable not found.
Program text: (defglobal ?*gVarDistanciaDeCoruscant* = (new nrc.fuzzy.FuzzyVariable "distanciaDeCoruscant" 0.0 30000.0 "parsec")) at line 26 in file /Users/UNISAL/Documents/AI/StarWars.clp.
Nested exception is:
nrc.fuzzy.FuzzyVariable
내가 Mac 및 Linux 제스이 패키지가없는 생각 :
;Distância do Coruscant
(defglobal ?*gVarDistanciaDeCoruscant* = (new nrc.fuzzy.FuzzyVariable "distanciaDeCoruscant" 0.0 30000.0 "parsecs"))
;Temperatura dos Planetas
(defglobal ?*gVarTemperatura* = (new nrc.fuzzy.FuzzyVariable "temperatura" 0 8000 "K"))
;Planetas Vizinhos
(defglobal ?*gVarPlanetasVizinhos* = (new nrc.fuzzy.FuzzyVariable "distanciaPlanetasVizinhos" 0.0 400000.0 "d"))
;Raio em termos de unidades coruscantenses
(defglobal ?*gVarTamanho* = (new nrc.fuzzy.FuzzyVariable "tamanho" 0 500 "EU"))
;Quando o planeta foi descoberto
(defglobal ?*gVarDescobertaTempo* = (new nrc.fuzzy.FuzzyVariable "descoberta" 50000BBY 400ABY))
(call nrc.fuzzy.FuzzyValue setMatchThreshold 0.1)
그리고 터미널
는, 제스 오류를했다. Mac 및 Linux와 호환되는 누락 된 패키지를 추가 할 수 있습니까?좋은 성적을 얻으려면 선생님에게 내 workclass/assignment 프레젠테이션을 전달해야합니다.
당신은 전체 문서를 확인할 수 있습니다 https://gist.github.com/gusbemacbe/8ad836256edcfb5edbffe206cad6c9e8
CLASSPATH에 'nrc.fuzzy.FuzzyVariable'이 포함되도록 설정되지 않았을 가능성이 큽니다. – laune