Managing Software Development - PowerPoint PPT Presentation

About This Presentation
Title:

Managing Software Development

Description:

Managing Software Development Karl Lieberherr Manage a significant program from requirements to implementation We wrote requirements. We wrote several requirement ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 13
Provided by: Karl3193
Category:

less

Transcript and Presenter's Notes

Title: Managing Software Development


1
Managing Software Development
  • Karl Lieberherr

2
Manage a significant program from requirements to
implementation
  • We wrote requirements. We wrote several
    requirement documents that were good enough.
  • http//www.ccs.neu.edu/home/lieber/evergreen/speck
    er/sdg-home.html
  • It is hard to get them perfect.

3
Specker Derivative Game (SDG)
  • About buying and selling generative, active
    participation products based on partial
    information.
  • Partial information type T of CSP formula
  • Generates raw material CSP formula of given
    type T
  • Active participation Finish raw material.

4
Other instances
  • buy a course
  • raw materials lectures, projects
  • active participation you need to finish them
    absorb the material, apply the material.
  • buy a membership in a health club
  • raw materials equipment, classes
  • active participation use it.

5
What is needed to write good code?
  • Understanding the application domain is important
    to writing good code.
  • Application domain topics we encountered
  • solving min-max problems
  • reductions
  • maximizing polynomials
  • minimizing functions
  • transition systems for solving MAX-CSP

6
Golden nuggets of insight
  • May simplify your program significantly.
  • Are at a conceptual level.

7
Application domain knowledge
  • dozens of relations in type
  • reduce to two for raw material construction!!
  • symmetric formulas are the worst case

8
Controlling complexity of raw materials
  • Set of relations R(1,1), R(pos,length) pos of
    length literals are positive, length gt2.
  • RR R(1,1), R(pos,length), length gt2
  • e.g., RR (R(1,1),R(0,2),R(1,2),R(2,2), R(0,3),
    R(2,3)
  • Lemma The worst raw material in this class only
    needs to use RRsimpleR(1,1), R(0,2).

9
Proof
  • Let s be an arbitrary RR-formula. We simplify it
    to a cnf T(S) using
  • In clauses containing positive literals, drop all
    but one.
  • In clauses containing only negative literals, but
    more than one, drop all except two.
  • T(s) is in RRsimple and to each assignment I1 of
    T(s) corresponds an assignment I of s which
    satisfies at least as many clauses as I1 in T(s).

10
Example of reduction
A B C A B !A !B !C A C B !C !A
!B !C !D
  • A B C
  • A B
  • !A !B !C
  • A C
  • B !C
  • !A !B !C !D

3A 2!A !B 1 B
A1,B0,C0 all sat
A1,B0,C0 5/6 sat
11
R 22
¾ only
  • a b c
  • a b d
  • a c d
  • b c d

a b c a b d a c d
can satisfy all
symmetric
apply all 4! 1234 24 permutations
12
Symmetrized formula
18a b c 18a b d 18a c d 18 b c d
Write a Comment
User Comments (0)
About PowerShow.com