udacity / aind-planning Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
https://github.com/udacity/AIND-Planning/blob/master/my_planning_graph.py#L87
I think there is a minor bug while showing the PgNode_s at line 87 of my_planning_graph.py, the ~ shouldnt be there for the positive case
print("\n*** ~{}".format(self.symbol))
In the commit on Apr 19 there was a change named:
But comments in code on master branch still indicate its presence:
https://github.com/udacity/AIND-Planning/blob/master/my_planning_graph.py#L65
Instance variables calculated:
literal: expr
fluent in its literal form including negative operator if applicable
This leads to confusion when implementing h_levelsum
method in my_planning_graph.py
as we need to perform goal checks at each level against the same PgNode_s
instances. https://github.com/udacity/AIND-Planning/blob/master/my_planning_graph.py#L476
BTW I've even got code review rejected related to this issue as suggestion by the reviewer uses .literal
in a conditional.
na1 and na2 have empty precondition. How this test case can assert them competing_needs_mutex() == false, then mutexify(na3, and na4), then assert competing_needs_mutex() == true.
Please consider to add an eq operator to Action class. See pull request 4.
That would resolve problem with your test case in planing project and improve readability of the code.
ModuleNotFoundError: No module named 'aimacode'
This line doesn't work.
sys.path.append(os.path.join(os.path.dirname(parent), "aimacode"))
Replace it by
sys.path.append(os.path.dirname(parent))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.