Monday, July 3, 2017

Digest for comp.programming.threads@googlegroups.com - 5 updates in 5 topics

rami18 <coco@coco.com>: Jun 29 01:24PM -0400

Hello.......
 
 
Deep-Learning Networks Rival Human Vision
 
Read more here:
 
https://www.scientificamerican.com/article/deep-learning-networks-rival-human-vision1/
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: Jul 02 05:59PM -0400

Hello....
 
My PERT library uses a CPM algorithm that uses Topological sorting to
render CPM a linear-time algorithm for finding the critical path of the
project, so it's fast.
 
You can download version 1.02 from:
 
https://sites.google.com/site/aminer68/pert-the-program-evaluation-and-review-technique-for-delphi-and-freepascal
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: Jul 02 04:21PM -0400

Hello....
 
 
Efficient morality is more professionalism and more professionalism is
optimization
 
You have seen me writing my political philosophy here on this forum,
and you have finally understood my thoughts, but you have
to understand me Sir and Madam, Efficient morality is
optimization and optimization is performance and reliability,
this is why you have seen me implementing PERT (The program evaluation
and review technique) for Delphi and Freepascal , this is the way it is
with optimization and my PERT library and programs are really useful
tools, PERT has based its method on the following Central Limit theorem:
 
http://mathworld.wolfram.com/CentralLimitTheorem.html
 
Because it is a continuous distribution between the optimistic cost and
the pessimistic cost that we use on PERT, and since we are in continuous
this permits to apply the central limit theorem and to use the normal
distribution, and this becomes very interesting, and this is the key
point of PERT method.
 
I have decided to implement PERT (The program evaluation and review
technique), here is the result, please read carefully what follows,
i have also included a 32 bit and 64 bit windows executables called
PERT32.exe and PERT64.exe (that take the file, with a the file format
that i specified bellow, as an argument) inside the zip, it is a very
powerful tool.
 
PERT (The program evaluation and review technique) for Delphi and Freepascal
 
Version: 1.01
 
Authors: Amine Moulay Ramdane that have implemented PERT, Robert
Sedgewick, Kevin Wayne.
 
Description:
 
The program (or project) evaluation and review technique, commonly
abbreviated PERT, is a statistical tool, used in project management,
which was designed to analyze and represent the tasks involved in
completing a given project.
 
First developed by the United States Navy in the 1950s, it is commonly
used in conjunction with the critical path method (CPM).
 
PERT permits also to calculate:
 
- The longest path of planned activities to the end of the project
- The earliest and latest that each activity can start and finish
without making the project longer
- Determines "critical" activities (on the longest path)
- Prioritize activities for the effective management and to
shorten the planned critical path of a project by:
- Pruning critical path activities
- "Fast tracking" (performing more activities in parallel)
- "Crashing the critical path" (shortening the durations of critical
path activities by adding resources)
 
PERT is a method of analyzing the tasks involved in completing a given
project, especially the time needed to complete each task, and to
identify the minimum time needed to complete the total project. It
incorporates uncertainty by making it possible to schedule a project
while not knowing precisely the details and durations of all the
activities. It is more of an event-oriented technique rather than start-
and completion-oriented, and is used more in projects where time is the
major factor rather than cost. It is applied to very large-scale,
one-time, complex, non-routine infrastructure and Research and
Development projects.
 
PERT and CPM are complementary tools, because "CPM employs one time
estimate and one cost estimate for each activity; PERT may utilize three
time estimates (optimistic, expected, and pessimistic) and no costs for
each activity. Although these are distinct differences, the term PERT is
applied increasingly to all critical path scheduling
 
You have to have a java compiler, and you have first to compile the java
libraries with the batch file compile.bat, and after that compile the
Delphi and Freepascal test1.pas program.
 
Here is the procedure to call:
 
procedure solvePERT(filename:string;var info:TCPMInfo;var
finishTime:system.double;var criticalPathStdDeviation:system.double);
 
The arguments are:
 
The filename: is the file to pass, it's is organized as:
 
The first line is the number of jobs, the rest of each of the lines are:
three time estimates that takes the job (optimistic, expected, and
pessimistic) and after that the number of precedence constraints and
after that the precedence constraints that specify that the job have to
be completed before certain other jobs are begun.
 
info: is the returned information, you can get the job number and the
start and finish time of the job in info[i].job and info[i].start and
info[i].finish, please look at the test.pas example to understand.
 
finishTime: is the finish time.
 
criticalPathStdDeviation: is the critical path standard deviation.
 
I have provided you with two other functions to calculate
the probabilities using the Normal distribution using the critical path
standard deviation and using the best estimate of completion time of the
critical path, here
they are:
 
function NormalDistA (const Mean, StdDev, AVal, BVal: Extended): Single;
 
function NormalDistP (const Mean, StdDev, AVal: Extended): Single;
 
You pass the best estimate of completion time to Mean, and you pass the
critical path standard deviation to StdDev, and you will get the
probabilities of the value Aval or between the values of Aval and Bval.
 
I have also included a 32 bit and 64 bit windows executables called
PERT32.exe and PERT64.exe (that take the file, with a the file format
that i specified above, as an argument) inside the zip, it is a very
powerful tool, you need to compile CPM.java with compile.bat before
running them.
 
You can download this library from:
 
https://sites.google.com/site/aminer68/pert-the-program-evaluation-and-review-technique-for-delphi-and-freepascal
 
Have fun with it !
 
Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
 
Operating Systems: Windows,
 
Required FPC switches: -O3 -Sd -dFPC -dFreePascal
 
-Sd for delphi mode....
 
Required Delphi switches: -$H+ -DDelphi
 
For Delphi XE-XE7 use the -DXE switch
 
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: Jul 02 04:01PM -0400

Hello.....
 
 
One last touch, here is version 1.01..
 
PERT (The program evaluation and review technique) for Delphi and
Freepascal was updated to version 1.01
 
I have decided to implement PERT (The program evaluation and review
technique), and have also included a 32 bit and 64 bit windows
executables called PERT32.exe and PERT64.exe (that take the file, with a
the file format that i specified, as an argument) inside the zip, it is
a very powerful tool.
 
You can download this library from:
 
https://sites.google.com/site/aminer68/pert-the-program-evaluation-and-review-technique-for-delphi-and-freepascal
 
 
 
Thank you,
Amine Moulay Ramdane.
rami18 <coco@coco.com>: Jul 02 03:01PM -0400

Hello.....
 
 
I have decided to implement PERT (The program evaluation and review
technique), here is the result, please read carefully what follows,
i have also included a 32 bit and 64 bit windows executables called
PERT32.exe and PERT64.exe (that take the file, with a the file format
that i specified bellow, as an argument) inside the zip, it is a very
powerful tool.
 
PERT (The program evaluation and review technique) for Delphi and Freepascal
 
Version: 1.0
 
Authors: Amine Moulay Ramdane that have written PERT, Robert Sedgewick,
Kevin Wayne.
 
Email: aminer@videotron.ca
 
Description:
 
The program (or project) evaluation and review technique, commonly
abbreviated PERT, is a statistical tool, used in project management,
which was designed to analyze and represent the tasks involved in
completing a given project.
 
First developed by the United States Navy in the 1950s, it is commonly
used in conjunction with the critical path method (CPM).
 
PERT permits also to calculate:
 
- The longest path of planned activities to the end of the project
- The earliest and latest that each activity can start and finish
without making the project longer
- Determines "critical" activities (on the longest path)
- Prioritize activities for the effective management and to
shorten the planned critical path of a project by:
- Pruning critical path activities
- "Fast tracking" (performing more activities in parallel)
- "Crashing the critical path" (shortening the durations of critical
path activities by adding resources)
 
PERT is a method of analyzing the tasks involved in completing a given
project, especially the time needed to complete each task, and to
identify the minimum time needed to complete the total project. It
incorporates uncertainty by making it possible to schedule a project
while not knowing precisely the details and durations of all the
activities. It is more of an event-oriented technique rather than start-
and completion-oriented, and is used more in projects where time is the
major factor rather than cost. It is applied to very large-scale,
one-time, complex, non-routine infrastructure and Research and
Development projects.
 
PERT and CPM are complementary tools, because "CPM employs one time
estimate and one cost estimate for each activity; PERT may utilize three
time estimates (optimistic, expected, and pessimistic) and no costs for
each activity. Although these are distinct differences, the term PERT is
applied increasingly to all critical path scheduling
 
You have to have a java compiler, and you have first to compile the java
libraries with the batch file compile.bat, and after that compile the
Delphi and Freepascal test1.pas program.
 
Here is the procedure to call:
 
procedure solvePERT(filename:string;var info:TCPMInfo;var
finishTime:system.double;var criticalPathStdDeviation:system.double);
 
The arguments are:
 
The filename: is the file to pass, it's is organized as:
 
The first line is the number of jobs, the rest of each of the lines are:
three time estimates that takes the job (optimistic, expected, and
pessimistic) and after that the number of precedence constraints and
after that the precedence constraints that specify that the job have to
be completed before certain other jobs are begun.
 
info: is the returned information, you can get the job number and the
start and finish time of the job in info[i].job and info[i].start and
info[i].finish, please look at the test.pas example to understand.
 
finishTime: is the finish time.
 
criticalPathStdDeviation: is the critical path standard deviation.
 
I have provided you with two other functions to calculate
the probabilities using the Normal distribution using the critical path
standard deviation and using the best estimate of completion time of the
critical path, here
they are:
 
function NormalDistA (const Mean, StdDev, AVal, BVal: Extended): Single;
 
function NormalDistP (const Mean, StdDev, AVal: Extended): Single;
 
You pass the best estimate of completion time to Mean, and you pass the
critical path standard deviation to StdDev, and you will get the
probabilities of the value Aval or between the values of Aval and Bval.
 
I have also included a 32 bit and 64 bit windows executables called
PERT32.exe and PERT64.exe (that take the file, with a the file format
that i specified above, as an argument) inside the zip, it is a very
powerful tool, you need to compile CPM.java with compile.bat before
running them.
 
You can download this library from:
 
https://sites.google.com/site/aminer68/pert-the-program-evaluation-and-review-technique-for-delphi-and-freepascal
 
Have fun with it !
 
Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
 
Operating Systems: Windows,
 
Required FPC switches: -O3 -Sd -dFPC -dFreePascal
 
-Sd for delphi mode....
 
Required Delphi switches: -$H+ -DDelphi
 
For Delphi XE-XE7 use the -DXE switch
 
 
 
Thank you,
Amine Moulay Ramdane.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: