
**Inheritance:**
java.lang.Object, com.aspose.tasks.TreeAlgorithmBase
```
public class CheckCircuit extends TreeAlgorithmBase<Task>
```

Checks a tree (of tasks) whether it contains a circuit.
## Constructors

| Constructor | Description |
| --- | --- |
| [CheckCircuit()](#CheckCircuit--) | Initializes a new instance of the [CheckCircuit](../../com.aspose.tasks/checkcircuit) class. |
## Methods

| Method | Description |
| --- | --- |
| [alg(Task el, int level)](#alg-com.aspose.tasks.Task-int-) | Check if the specified object was already processed. |
### CheckCircuit() {#CheckCircuit--}
```
public CheckCircuit()
```


Initializes a new instance of the [CheckCircuit](../../com.aspose.tasks/checkcircuit) class.

### alg(Task el, int level) {#alg-com.aspose.tasks.Task-int-}
```
public void alg(Task el, int level)
```


Check if the specified object was already processed.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| el | [Task](../../com.aspose.tasks/task) | Object to process. |
| level | int | Tree node level. |

