Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 24th, 2007, 11:12 PM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Algorithm to Score Global Quality-Quantity of File

: I would like to create an algorithm to score the "global quality/quantity" of eBooks of each subject.

Each subject has a main subfolder, like:

eBooks\Subject1\(...)
eBooks\Subject2\(...)
eBooks\Subject3\(...)
(...)

I would to create an algorithm/equation/formula to score them (subjects). I think it would be important such algorithm/equation/formula to rely on:

*) Total Size of each Subfolder (the higher the better)

*) Total Number of Files inside each Subfolder (the higher the better)

*) Total Number of Sub-Subfolders inside each Subfolder (the higher the better)

*) Maximum Folder Depth (the higher the better)

*) The Size of the Largest File Size (the higher the better)

*) The Size of the Largest File Size (the higher the better)


I tried many combinations but the resultant score were very absurd, except when:

Score = (Total Number of Files inside each Subfolder) * (Total Size of each Subfolder)

Do you know a better one?

Thanks.

Regards.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
Quantity Error rsm42 ASP.NET 1.0 and 1.1 Basics 1 December 31st, 2006 01:25 PM
Display highest test score kgs51 VB.NET 2002/2003 Basics 15 November 19th, 2004 11:02 AM
Coursebuilder Score Script fs22 Javascript 0 April 8th, 2004 09:37 AM
get max test score and corresponding date ssambr1 MySQL 1 January 24th, 2004 08:42 PM
quiz total score frenziedsilence Beginning PHP 2 January 14th, 2004 12:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.