arcman7 / arcman7.github.io Goto Github PK
View Code? Open in Web Editor NEWDBC Phase-0 pages site, whoohoo!
DBC Phase-0 pages site, whoohoo!
I've tried your code from your article and got stuck with a specific tree. I don't understand why this demoTree
{
a: [],
b: [],
c: [],
d: ['b'],
e: ['c', 'b'],
f: ['e'],
g: ['b', 'd'],
h: ['f', 'c', 'e']
};
draws a graph without JobNode name g and h?
{
a: JobNode {name: "a", parents: Array(0), childs: Array(0)}
b: JobNode {name: "b", parents: Array(0), childs: Array(3)}
c: JobNode {name: "c", parents: Array(0), childs: Array(2)}
d: JobNode {name: "d", parents: Array(0), childs: Array(1)}
e: JobNode {name: "e", parents: Array(0), childs: Array(2)}
f: JobNode {name: "f", parents: Array(0), childs: Array(1)}
_sudoRoot: JobNode
}
I just changed all simulatedTasks
to 1000
. Why does [undefined, ...]
appears in line 9 and passed to h eventhough task "f" seems never completed but h is completed as stated on line 11?
1: task " a " completed.
2: task " b " completed.
3: results: ["b"] passed to task " d "
4: task " c " completed.
5: results: (2) ["c", "b"] passed to task " e "
6: task " d " completed.
7: results: (2) ["b", "d"] passed to task " g "
8: task " e " completed.
9: results: (3) [undefined, "c", "e"] passed to task " h "
10: task " g " completed.
11: task " h " completed.
What is happening here? I can not get ["f", "c", "e"]
as a result to be passed to "task h".
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.