aimacode / aima-java

Java implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FirstOrderVisitor.java in package aima.extra.logic.firstorder.parser missing implementation dependent classes

hriaz17 opened this issue · comments

image

As you can see, FirstOrderVisitor.java requires several missing classes to be implemented in aima-4e, hence it is throwing up errors when running unit tests as well. Should I copy over implementations from aima-3e to make it work @utsavoza @ctjoreilly @norvig?

@harisriaz17 The FirstOrderParser and PropositionalLogicParser are generated from their respective ANTLR grammar files when you build the project, or extra gradle module. I suppose in Eclipse IDE, you need to manually 'refresh the gradle project' after the build inorder for these changes to get reflected in the IDE.

Alright - thanks for your help! I got those files generated. Since you're here, can you please review this PR for me?
I wrote a couple of basic unit tests for the activation and derivative function used in neural networks (forward and back prop).
#368

This issue seems to have been resolved. Therefore I am closing this issue.