Revision 8a57f3b03992351f46c4537fd0d9351592278d2b (click the page title to view the current version)

ACCDemo/fullClafer

Changes from 8a57f3b03992351f46c4537fd0d9351592278d2b to 9b0d959aea55e085083652864435023cc39f0785
---
title: Domain Modeling, Verification, and Validation
... 
...

> Back to [Intro]()

Car 
Car

```clafer
abstract car
    xor transmission
        automatic
        manual
    `fca ?
    `cc
    [acc => fca]
```

Forward Collision Alert

```clafer
abstract fca
    xor sensor
        radar
        lidar
```

Cruise Control

```clafer
abstract cc
    switches 2..3
        backlight ?
    acc ?
```

Specialization 
Specialization

```clafer
abstract camaro : car
    [all s : switches | s.backlight]
    transformer ?
        [ # switches = 3 ]
```

Partial product configuration

```clafer
bumbleBee : camaro
    [ transformer ]
    [ manual ]
```

```{.clafer .summary}
```

```{.clafer .ide}
```