Version 4 (modified by acher, 8 years ago)

--

FAMILIAR

See other projects:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// laptopScenario.fmm: implementation of suppliers' scenario
run "newlaptop" // new family of laptop firstly designed 
// load repositories
run "repositoryGC" into GC

run "repositoryCPU" into CPU
run "repositoryMonitor" into monitor
// we map the 'newlaptop' graphic card description with the graphic card products of the repository 

originalGC = extract newlaptop.laptop.GraphicCard 
// products of the 'GC' repository should cover the entire set of products described by 'originalGC'

allProductsGC = merge sunion GC.*
gc_merged = merge intersection originalGC allProductsGC

if (not (isValid gc_merged)) then 
	print "No product can be provided" 
	exit // stop the programm

end
cmp_gc = (compare originalGC allProductsGC)
if (cmp_gc eq GENERALIZATION) then 
	gc_losed = merge diff original allProductsGC 
	print "Some products cannot be provided: " (configs gc_losed)

end
// at this step, *all* products of originalGC can be provided by suppliers
assert (cmp_gc eq REFACTORING || cmp_gc eq SPECIALIZATION)

// nevertheless, some suppliers are out of the competition or provide products with too many features
GC_suppliers_in = set_empty
foreach (supp in GC.*) do 
	if (not (isValid (merge intersection originalGC supp))) then

		print "Supplier is unable to provide any product: " supp
	else
		supp_updated = merge intersection supp originalGC // some products of supp are not needed

		set_add GC_suppliers_in supp_updated
	end
end
assert ((set_card GC_suppliers_in) >= 1) // obviously, there is at least one available supplier 

// configuration process
gcProduct = configuration originalGC

Trac is a minimalistic approach to web-based management of software projects. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.

All aspects of Trac have been designed with the single goal to help developers write great software while staying out of the way and imposing as little as possible on a team's established process and culture.

As all Wiki pages, this page is editable, this means that you can modify the contents of this page simply by using your web-browser. Simply click on the "Edit this page" link at the bottom of the page. WikiFormatting will give you a detailed description of available Wiki formatting commands.

"trac-admin yourenvdir initenv" created a new Trac environment, containing a default set of wiki pages and some sample data. This newly created environment also contains documentation to help you get started with your project.

You can use trac-admin to configure  Trac to better fit your project, especially in regard to components, versions and milestones.

TracGuide is a good place to start.

Enjoy!
The Trac Team

Starting Points

For a complete list of local wiki pages, see TitleIndex.

Attachments