---
name: "tlp_SimpleTest"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/tlp_SimpleTest"
---

# tlp\_SimpleTest(3tulip)

## NAME

tlp::SimpleTest -

## SYNOPSIS

`#include <SimpleTest.h>`

Inherits **tlp::GraphObserver**.

### Static Public Member Functions

static bool **isSimple** (**Graph** \*graph)\
 static void **makeSimple** (**Graph** \*graph, std::vector\< **edge** \> &removed)\
 static bool **simpleTest** (**Graph** \*graph, std::vector\< **edge** \> \*multipleEdges=0, std::vector\< **edge** \> \*loops=0)\

## Detailed Description

class for testing if the graph is simple (ie no self loops and no multiple or parallel edges)

## Member Function Documentation

### static bool tlp::SimpleTest::isSimple (Graph \* graph)` [static]`

### static void tlp::SimpleTest::makeSimple (Graph \* graph, std::vector\< edge \> & removed)` [static]`

### static bool tlp::SimpleTest::simpleTest (Graph \* graph, std::vector\< edge \> \* multipleEdges = `0`, std::vector\< edge \> \* loops = `0`)` [static]`

## Author

Generated automatically by Doxygen for Tulip Graph Library from the source code.
