Method for determining a configuration of at least one relay between an access point and terminals in a network architecture comprising a plurality of entities including at least one access point, at least one relay, a controller and terminals, a relay configuration determining the layers implemented by the entities, the method comprising: - a step of generating a first network graph, a network graph being a graph associating a physical quantity associated with each exchange of data between two entities among the access point, the relay and the terminals, the method being characterized in that the first network graph is a connectivity graph, the connectivity graph being a graph showing the potential connections between the different entities and also containing signal-to-noise ratio or signal-to-noise ratio values plus interference, and in that the method comprises the steps of: - chosing the relay configuration based on the first network graph, configurations including single-hop configuration, multi-hop configuration, multicast configuration, no-relay configuration, - generating a second network graph, the second network graph being a graph measuring the quality of the link on each connection, - for a relay configuration in which at least two entities are capable of transmitting to a terminal, determining whether a switch to another entity transmitting to the terminal or receiving from the terminal is desirable for the terminal considered, the determination being implemented based on the second network graph, and • when it is determined for the terminal in question that a switch over is desirable, the method comprising: - the implementation of the switchover to the other entity, - the generation of a third network graph, the third network graph being a latency graph, - a new implementation of the generation, choice and determination stages, • when it is determined for the terminal considered that a switch to another entity is not desirable, the method comprising a test of all possible configurations for the terminal to determine whether a single-hop configuration is possible and select it as configuration if necessary. a relay configuration determining the layers implemented by the entities, the method comprising: - a step of generating a first network graph, a network graph being a graph associating a physical quantity associated with each exchange of data between two entities among the access point, the relay and the terminals, - a step of generating a first network graph, a network graph being a graph associating a physical quantity associated with each exchange of data between two entities among the access point, the relay and the terminals, - chosing the relay configuration based on the first network graph, configurations including single-hop configuration, multi-hop configuration, multicast configuration, no-relay configuration, - generating a second network graph, the second network graph being a graph measuring the quality of the link on each connection, - for a relay configuration in which at least two entities are capable of transmitting to a terminal, determining whether a switch to another entity transmitting to the terminal or receiving from the terminal is desirable for the terminal considered, the determination being implemented based on the second network graph, and • when it is determined for the terminal in question that a switch over is desirable, the method comprising: - the implementation of the switchover to the other entity, - the generation of a third network graph, the third network graph being a latency graph, - a new implementation of the generation, choice and determination stages, • when it is determined for the terminal considered that a switch to another entity is not desirable, the method comprising a test of all possible configurations for the terminal to determine whether a single-hop configuration is possible and select it as configuration if necessary. • when it is determined for the terminal in question that a switch over is desirable, the method comprising: - the implementation of the switchover to the other entity, - the generation of a third network graph, the third network graph being a latency graph, - a new implementation of the generation, choice and determination stages, - the implementation of the switchover to the other entity, - the generation of a third network graph, the third network graph being a latency graph, - a new implementation of the generation, choice and determination stages, • when it is determined for the terminal considered that a switch to another entity is not desirable, the method comprising a test of all possible configurations for the terminal to determine whether a single-hop configuration is possible and select it as configuration if necessary.